summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-15 21:28:24 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-15 21:28:54 +0100
commit7f9369b743449d2aa346557d4b6ad0655ec5d56b (patch)
tree70172320a69b66d5ceec407d0d8ae6229a73780e
parentd19ca77f42080e7b9a360aee65218724c52e08ae (diff)
lavf: update rfps debug code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index aeebe629a7..183aaff2b2 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -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);