Browse Source

timecode: show frame rate when invalid.

tags/n1.0
Clément Bœsch Clément Bœsch 13 years ago
parent
commit
1f68be4764
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavutil/timecode.c

+ 2
- 1
libavutil/timecode.c View File

@@ -164,7 +164,8 @@ static int check_timecode(void *log_ctx, AVTimecode *tc)
case 60: return 0; case 60: return 0;


default: 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; return AVERROR_PATCHWELCOME;
} }
} }


Loading…
Cancel
Save