Skip to content

Instantly share code, notes, and snippets.

Created January 21, 2016 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/b0b3294e1060929b7f7d to your computer and use it in GitHub Desktop.
Save anonymous/b0b3294e1060929b7f7d to your computer and use it in GitHub Desktop.
diff --git a/player/video.c b/player/video.c
index faa8a65..5f707f5 100644
--- a/player/video.c
+++ b/player/video.c
@@ -1203,7 +1203,7 @@ void write_video(struct MPContext *mpctx, double endpts)
if (r == VD_EOF) {
int prev_state = mpctx->video_status;
mpctx->video_status =
- vo_still_displaying(vo) ? STATUS_DRAINING : STATUS_EOF;
+ false ? STATUS_DRAINING : STATUS_EOF;
mpctx->delay = 0;
mpctx->last_av_difference = 0;
MP_DBG(mpctx, "video EOF (status=%d)\n", mpctx->video_status);
@@ -1224,7 +1224,7 @@ void write_video(struct MPContext *mpctx, double endpts)
struct mp_image_params p = mpctx->next_frames[0]->params;
if (!vo->params || !mp_image_params_equal(&p, vo->params)) {
// Changing config deletes the current frame; wait until it's finished.
- if (vo_still_displaying(vo))
+ if (false)
return;
const struct vo_driver *info = mpctx->video_out->driver;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment