From 41f2ad33e5e7741935f6ac9cefb8b117fbee1467 Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini Date: Wed, 10 Sep 2014 19:32:50 +0200 Subject: player: fix build This fixes a build failure introduced by c269fa1. --- player/playloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/playloop.c b/player/playloop.c index 7ab2adde30..5431b1c936 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -903,7 +903,7 @@ void run_playloop(struct MPContext *mpctx) * other hand, if we don't have a video frame, then the user probably seeked * outside of the video, and we do want to quit. */ bool prevent_eof = - mpctx->paused && mpctx->video_out && vo_has_frame(mpctx->video_out); + mpctx->paused && mpctx->video_out && mpctx->video_out->hasframe; /* Handles terminating on end of playback (or switching to next segment). * * It's possible for the user to simultaneously switch both audio -- cgit v1.2.3