[FFmpeg-cvslog] r22991 - trunk/ffmpeg.c

michael subversion
Fri Apr 30 02:06:37 CEST 2010


Author: michael
Date: Fri Apr 30 02:06:36 2010
New Revision: 22991

Log:
Print warnig if requested samplingrate is unsupported.

Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	Thu Apr 29 16:41:20 2010	(r22990)
+++ trunk/ffmpeg.c	Fri Apr 30 02:06:36 2010	(r22991)
@@ -498,6 +498,9 @@ static void choose_sample_rate(AVStream 
                 best= *p;
             }
         }
+        if(best_dist){
+            av_log(st->codec, AV_LOG_WARNING, "Requested sampling rate unsupported using closest supported (%d)\n", best);
+        }
         st->codec->sample_rate= best;
     }
 }



More information about the ffmpeg-cvslog mailing list