]> git.sesse.net Git - ffmpeg/commitdiff
lavf: print the invalid tb in avpriv_set_pts_info()
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 23 May 2012 14:46:39 +0000 (16:46 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 23 May 2012 17:04:23 +0000 (19:04 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c

index 86f6dccf661ca1af99b41c1208ee0e68486d5623..e7fd04abe8ab652d7cf366a7bda2c3a587dab6a7 100644 (file)
@@ -4136,7 +4136,7 @@ void avpriv_set_pts_info(AVStream *s, int pts_wrap_bits,
         av_log(NULL, AV_LOG_WARNING, "st:%d has too large timebase, reducing\n", s->index);
 
     if(new_tb.num <= 0 || new_tb.den <= 0) {
-        av_log(NULL, AV_LOG_ERROR, "Ignoring attempt to set invalid timebase for st:%d\n", s->index);
+        av_log(NULL, AV_LOG_ERROR, "Ignoring attempt to set invalid timebase %d/%d for st:%d\n", new_tb.num, new_tb.den, s->index);
         return;
     }
     s->time_base = new_tb;