summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--player/video.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/player/video.c b/player/video.c
index 27998c96a8..e0919a7c5e 100644
--- a/player/video.c
+++ b/player/video.c
@@ -408,6 +408,9 @@ static int get_req_frames(struct MPContext *mpctx, bool eof)
if (eof)
return 1;
+ if (mpctx->video_out->driver->caps & VO_CAP_NORETAIN)
+ return 1;
+
// On the first frame, output a new frame as quickly as possible.
// But display-sync likes to have a correct frame duration always.
if (mpctx->video_pts == MP_NOPTS_VALUE)