aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-05-23 16:46:39 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-05-23 19:04:23 +0200
commit121d3875b692c83866928e271c4b6d20d680d1a6 (patch)
tree61defca565a190ebdc6d6df97bc47c59d1763d3b
parent5e268633d17ccfe99955af95f5b60fc4f983a7b2 (diff)
downloadffmpeg-121d3875b692c83866928e271c4b6d20d680d1a6.tar.gz
lavf: print the invalid tb in avpriv_set_pts_info()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 86f6dccf66..e7fd04abe8 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;