diff options
author | Clément Bœsch <clement.boesch@smartjog.com> | 2012-07-31 16:32:12 +0400 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-08-01 19:36:37 +0400 |
commit | 1f68be4764adb0ee82ac0ca962ff467142ee2af9 (patch) | |
tree | 9535a3f5fc6213c3f8836a04c3885adb55130362 /libavutil | |
parent | 1894f88546cff0200c1c2507b43f1837cdc007b1 (diff) |
timecode: show frame rate when invalid.
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/timecode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/timecode.c b/libavutil/timecode.c index dcb93cb12e..c74abf2bd0 100644 --- a/libavutil/timecode.c +++ b/libavutil/timecode.c @@ -164,7 +164,8 @@ static int check_timecode(void *log_ctx, AVTimecode *tc) case 60: return 0; default: - av_log(log_ctx, AV_LOG_ERROR, "Timecode frame rate not supported\n"); + av_log(log_ctx, AV_LOG_ERROR, "Timecode frame rate %d/%d not supported\n", + tc->rate.num, tc->rate.den); return AVERROR_PATCHWELCOME; } } |