diff options
author | Pedro Pombeiro <pedropombeiro@gmail.com> | 2017-06-27 13:50:58 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-06-29 10:36:16 +0200 |
commit | 4637b029cdd168d4196f5ab69fa5f91556ee5d11 (patch) | |
tree | 88bf0e222d4743ffb067daedef4985887f4fca37 /player | |
parent | f22d12ac5115a22a251e479c9c27e5f55337bb28 (diff) | |
download | mpv-4637b029cdd168d4196f5ab69fa5f91556ee5d11.tar.bz2 mpv-4637b029cdd168d4196f5ab69fa5f91556ee5d11.tar.xz |
Universal Windows Plaform (UWP) support
libmpv only. Some things are still missing.
Heavily reworked.
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'player')
-rw-r--r-- | player/playloop.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |