]> git.sesse.net Git - ffmpeg/blobdiff - ffmpeg_filter.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / ffmpeg_filter.c
index c8164ed62da1854a47acaf0878cfa92a779e70fd..e17c4a598894374885f1816cf1cf6c0ec0c562d2 100644 (file)
@@ -290,10 +290,6 @@ static int insert_trim(int64_t start_time, int64_t duration,
     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 "