Commit 0362a067 authored by jbr's avatar jbr

Log a clearer warning message when muxing FLV with Speex containing more than

8 frames per packet.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20247 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 69afa85b
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment