From c64e4e48d97b9af2b241179ee87765e5d17fff95 Mon Sep 17 00:00:00 2001 From: xylosper Date: Tue, 21 Apr 2015 00:50:43 +0900 Subject: command: disc-mouse-on-button property This property indicates whether mouse cursor is located on button or not for disc naviation. --- player/core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'player/core.h') diff --git a/player/core.h b/player/core.h index 23547ac630..9ed452ffad 100644 --- a/player/core.h +++ b/player/core.h @@ -373,6 +373,7 @@ void mp_nav_destroy(struct MPContext *mpctx); void mp_nav_user_input(struct MPContext *mpctx, char *command); void mp_handle_nav(struct MPContext *mpctx); int mp_nav_in_menu(struct MPContext *mpctx); +bool mp_nav_mouse_on_button(struct MPContext *mpctx); // loadfile.c void uninit_player(struct MPContext *mpctx, unsigned int mask); -- cgit v1.2.3 From 4ae8fc326d544f83777ad4f038ad6587af507fab Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 20 Apr 2015 23:21:38 +0200 Subject: player: cleanup update_fps() function It was called only in 2 places, one of them redundant (the container FPS can not change). --- player/core.h | 1 - 1 file changed, 1 deletion(-) (limited to 'player/core.h') diff --git a/player/core.h b/player/core.h index 9ed452ffad..714fd5d4bd 100644 --- a/player/core.h +++ b/player/core.h @@ -491,7 +491,6 @@ int reinit_video_chain(struct MPContext *mpctx); int reinit_video_filters(struct MPContext *mpctx); void write_video(struct MPContext *mpctx, double endpts); void mp_force_video_refresh(struct MPContext *mpctx); -void update_fps(struct MPContext *mpctx); void uninit_video_out(struct MPContext *mpctx); void uninit_video_chain(struct MPContext *mpctx); -- cgit v1.2.3