Mercurial > libavformat.hg
diff flvenc.c @ 5289:269fd2e634ba libavformat
Log a clearer warning message when muxing FLV with Speex containing more than
8 frames per packet.
author | jbr |
---|---|
date | Fri, 16 Oct 2009 10:04:35 +0000 |
parents | 64e6e0d096b9 |
children | 19a53e99da63 |
line wrap: on
line diff
--- a/flvenc.c Fri Oct 16 07:55:57 2009 +0000 +++ b/flvenc.c Fri Oct 16 10:04:35 2009 +0000 @@ -70,9 +70,9 @@ 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 {