Print a warning if vp6 is muxed into flv: The output is flipped.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sun, 23 Nov 2014 12:22:27 +0000 (13:22 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sun, 23 Nov 2014 12:22:27 +0000 (13:22 +0100)
Fixes ticket #4132.

libavformat/flvenc.c

index a8cd994..5468c4d 100644 (file)
@@ -355,6 +355,9 @@ static int flv_write_header(AVFormatContext *s)
                            "use vstrict=-1 / -strict -1 to use it anyway.\n");
                     return AVERROR(EINVAL);
                 }
+            } else if (enc->codec_id == AV_CODEC_ID_VP6) {
+                av_log(s, AV_LOG_WARNING,
+                       "Muxing VP6 in flv will produce flipped video on playback.\n");
             }
             break;
         case AVMEDIA_TYPE_AUDIO: