]> git.sesse.net Git - ffmpeg/commitdiff
lavf: update rfps debug code.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 15 Dec 2011 20:28:24 +0000 (21:28 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 15 Dec 2011 20:28:54 +0000 (21:28 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c

index aeebe629a700ebc5aa1f4365b821cc55887f1cf1..183aaff2b23823580ba0f874285f8af4ecd65fef 100644 (file)
@@ -2494,8 +2494,8 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
                 double dts= pkt->dts * av_q2d(st->time_base);
                 int64_t duration= pkt->dts - last;
 
-//                if(st->codec->codec_type == AVMEDIA_TYPE_VIDEO)
-//                    av_log(NULL, AV_LOG_ERROR, "%f\n", dur);
+//                 if(st->codec->codec_type == AVMEDIA_TYPE_VIDEO)
+//                     av_log(NULL, AV_LOG_ERROR, "%f\n", dts);
                 for (i=1; i<FF_ARRAY_ELEMS(st->info->duration_error[0][0]); i++) {
                     int framerate= get_std_framerate(i);
                     double sdts= dts*framerate/(1001*12);