Lines Matching refs:log_ctx
192 static int check_timecode(void *log_ctx, AVTimecode *tc)
195 av_log(log_ctx, AV_LOG_ERROR, "Valid timecode frame rate must be specified. Minimum value is 1\n");
199 av_log(log_ctx, AV_LOG_ERROR, "Drop frame is only allowed with multiples of 30000/1001 FPS\n");
203 av_log(log_ctx, AV_LOG_WARNING, "Using non-standard frame rate %d/%d\n",
221 int av_timecode_init(AVTimecode *tc, AVRational rate, int flags, int frame_start, void *log_ctx)
228 return check_timecode(log_ctx, tc);
231 int av_timecode_init_from_components(AVTimecode *tc, AVRational rate, int flags, int hh, int mm, int ss, int ff, void *log_ctx)
240 ret = check_timecode(log_ctx, tc);
252 int av_timecode_init_from_string(AVTimecode *tc, AVRational rate, const char *str, void *log_ctx)
258 av_log(log_ctx, AV_LOG_ERROR, "Unable to parse timecode, "
264 return av_timecode_init_from_components(tc, rate, flags, hh, mm, ss, ff, log_ctx);