if (duration == INT64_MAX && start_time == AV_NOPTS_VALUE)
return 0;
- // Use with duration and without output starttime is buggy with trim filters
- if (start_time == AV_NOPTS_VALUE)
- return 0;
-
trim = avfilter_get_by_name(name);
if (!trim) {
av_log(NULL, AV_LOG_ERROR, "%s filter not present, cannot limit "