timecode: show frame rate when invalid.

This commit is contained in:
Clément Bœsch 2012-07-31 14:32:12 +02:00 committed by Clément Bœsch
parent 1894f88546
commit 1f68be4764
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}
}