summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
Diffstat (limited to 'player')
-rw-r--r--player/video.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/player/video.c b/player/video.c
index 09fc61fcf0..dacf1200c5 100644
--- a/player/video.c
+++ b/player/video.c
@@ -401,8 +401,11 @@ static int video_decode_and_filter(struct MPContext *mpctx)
return r;
if (d_video->waiting_decoded_mpi)
d_video->decoder_output = d_video->waiting_decoded_mpi->params;
- if (!d_video->waiting_decoded_mpi && (r == VD_EOF || r < 0))
+ if (!d_video->waiting_decoded_mpi && (r == VD_EOF || r < 0)) {
+ if (vf_output_frame(vf, true) > 0)
+ return VD_PROGRESS;
return VD_EOF; // true EOF
+ }
}
// Image will be filtered on the next iteration.