summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2014-09-10 19:32:50 +0200
committerAlessandro Ghedini <alessandro@ghedini.me>2014-09-10 19:32:54 +0200
commit41f2ad33e5e7741935f6ac9cefb8b117fbee1467 (patch)
tree7ef1c1ae89cd30146ba89555a4de039ce5cf1cc4
parent27996bf1de4411161a482ab3119fa31532e54ee3 (diff)
downloadmpv-41f2ad33e5e7741935f6ac9cefb8b117fbee1467.tar.bz2
mpv-41f2ad33e5e7741935f6ac9cefb8b117fbee1467.tar.xz
player: fix build
This fixes a build failure introduced by c269fa1.
-rw-r--r--player/playloop.c2
1 files changed, 1 insertions, 1 deletions
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