[FFmpeg-cvslog] r20247 - trunk/libavformat/flvenc.c

jbr subversion
Fri Oct 16 12:04:36 CEST 2009


Author: jbr
Date: Fri Oct 16 12:04:35 2009
New Revision: 20247

Log:
Log a clearer warning message when muxing FLV with Speex containing more than
8 frames per packet.

Modified:
   trunk/libavformat/flvenc.c

Modified: trunk/libavformat/flvenc.c
==============================================================================
--- trunk/libavformat/flvenc.c	Fri Oct 16 09:55:57 2009	(r20246)
+++ trunk/libavformat/flvenc.c	Fri Oct 16 12:04:35 2009	(r20247)
@@ -70,9 +70,9 @@ static int get_audio_flags(AVCodecContex
             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 {



More information about the ffmpeg-cvslog mailing list