From 4637b029cdd168d4196f5ab69fa5f91556ee5d11 Mon Sep 17 00:00:00 2001 From: Pedro Pombeiro Date: Tue, 27 Jun 2017 13:50:58 +0200 Subject: Universal Windows Plaform (UWP) support libmpv only. Some things are still missing. Heavily reworked. Signed-off-by: wm4 --- player/playloop.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'player/playloop.c') diff --git a/player/playloop.c b/player/playloop.c index 00ea6f1968..736a8f5951 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -684,6 +684,7 @@ int get_cache_buffering_percentage(struct MPContext *mpctx) static void handle_heartbeat_cmd(struct MPContext *mpctx) { +#if !HAVE_UWP struct MPOpts *opts = mpctx->opts; if (opts->heartbeat_cmd && !mpctx->paused && mpctx->video_out) { double now = mp_time_sec(); @@ -693,6 +694,7 @@ static void handle_heartbeat_cmd(struct MPContext *mpctx) } mp_set_timeout(mpctx, mpctx->next_heartbeat - now); } +#endif } static void handle_cursor_autohide(struct MPContext *mpctx) -- cgit v1.2.3