summaryrefslogtreecommitdiffstats
path: root/player/playloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/playloop.c')
-rw-r--r--player/playloop.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/player/playloop.c b/player/playloop.c
index 7b5a2f6d45..86f19fd79f 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -49,6 +49,7 @@
#include "core.h"
#include "client.h"
#include "command.h"
+#include "screenshot.h"
// Wait until mp_wakeup_core() is called, since the last time
// mp_wait_events() was called.
@@ -1226,6 +1227,8 @@ void run_playloop(struct MPContext *mpctx)
if (mpctx->video_status == STATUS_EOF)
update_subtitles(mpctx, mpctx->playback_pts);
+ handle_each_frame_screenshot(mpctx);
+
handle_eof(mpctx);
handle_loop_file(mpctx);