From 68677dd8ed57992a2ee648e3b995504cd753812d Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Fri, 16 Oct 2009 10:04:35 +0000 Subject: [PATCH] Log a clearer warning message when muxing FLV with Speex containing more than 8 frames per packet. Originally committed as revision 20247 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/flvenc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c index 183f137b4f..61717e15ff 100644 --- a/libavformat/flvenc.c +++ b/libavformat/flvenc.c @@ -70,9 +70,9 @@ static int get_audio_flags(AVCodecContext *enc){ return -1; } if (enc->frame_size / 320 > 8) { - av_log(enc, AV_LOG_WARNING, "Warning: Adobe Flash Player is known " - "to have trouble with Speex streams " - "with more than 8 frames per packet.\n"); + av_log(enc, AV_LOG_WARNING, "Warning: Speex stream has more than " + "8 frames per packet. Adobe Flash " + "Player cannot handle this!\n"); } return FLV_CODECID_SPEEX | FLV_SAMPLERATE_11025HZ | FLV_SAMPLESSIZE_16BIT; } else {