From 78093cf849b6de66d8e0d5ac2e4005592b6a0e08 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 23 Nov 2014 13:22:27 +0100 Subject: [PATCH] Print a warning if vp6 is muxed into flv: The output is flipped. Fixes ticket #4132. --- libavformat/flvenc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c index a8cd994363..5468c4d0e9 100644 --- a/libavformat/flvenc.c +++ b/libavformat/flvenc.c @@ -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: -- 2.20.1