[FFmpeg-cvslog] lavf: print the invalid tb in avpriv_set_pts_info()
Michael Niedermayer
git at videolan.org
Wed May 23 19:52:42 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed May 23 16:46:39 2012 +0200| [121d3875b692c83866928e271c4b6d20d680d1a6] | committer: Michael Niedermayer
lavf: print the invalid tb in avpriv_set_pts_info()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=121d3875b692c83866928e271c4b6d20d680d1a6
---
libavformat/utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 86f6dcc..e7fd04a 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -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;
More information about the ffmpeg-cvslog
mailing list