aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/flvenc.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2009-10-16 10:04:35 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2009-10-16 10:04:35 +0000
commit68677dd8ed57992a2ee648e3b995504cd753812d (patch)
tree5af8b913b8cbe45bed1d66cba1e4279ec8c71493 /libavformat/flvenc.c
parentc76911bd658377003293f65e3f83aed59029c624 (diff)
downloadffmpeg-68677dd8ed57992a2ee648e3b995504cd753812d.tar.gz
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
Diffstat (limited to 'libavformat/flvenc.c')
-rw-r--r--libavformat/flvenc.c6
1 files 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 {