]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/trim.c
enabled expressions on x, y, w, h and t parameters for drawgrid and drawbox, added...
[ffmpeg] / libavfilter / trim.c
index 96c30b4d760710ec18708c864031f4b6f5ba7bdb..29c7c50178334780e29e66830b0e82c4a7e3efb8 100644 (file)
@@ -162,7 +162,7 @@ static int trim_filter_frame(AVFilterLink *inlink, AVFrame *frame)
             drop = 0;
 
         if (drop) {
-            s->eof = 1;
+            s->eof = inlink->closed = 1;
             goto drop;
         }
     }
@@ -296,7 +296,7 @@ static int atrim_filter_frame(AVFilterLink *inlink, AVFrame *frame)
         }
 
         if (drop) {
-            s->eof = 1;
+            s->eof = inlink->closed = 1;
             goto drop;
         }
     }