[SCM] libav/experimental: Log a clearer warning message when muxing FLV with Speex containing more than 8 frames per packet.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:52:57 UTC 2013
The following commit has been merged in the experimental branch:
commit 68677dd8ed57992a2ee648e3b995504cd753812d
Author: Justin Ruggles <justin.ruggles at gmail.com>
Date: Fri Oct 16 10:04:35 2009 +0000
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
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index 183f137..61717e1 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 {
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list