summaryrefslogtreecommitdiffstats
path: root/mpvcore/player/osd.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-30 21:47:14 +0100
committerwm4 <wm4@nowhere>2013-10-30 22:19:31 +0100
commit2ccc3721ef9fc0acf39203e6709fa638a79222ae (patch)
treeb4e4ad1b44b0baa0f3ce7c9696213dcabce3699f /mpvcore/player/osd.c
parentfdd1b8cac13b7504e11db7e63f20d86e0f2e1cb2 (diff)
downloadmpv-2ccc3721ef9fc0acf39203e6709fa638a79222ae.tar.bz2
mpv-2ccc3721ef9fc0acf39203e6709fa638a79222ae.tar.xz
player: merge mp_osd.h into mp_core.h
Just doing this because mp_osd.h and osd.c is not consistent. There are some other header files (command.h and screenshot.h), but since I don't feel too good about inflating mp_core.h, I'm not merging them, at least not yet.
Diffstat (limited to 'mpvcore/player/osd.c')
-rw-r--r--mpvcore/player/osd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/player/osd.c b/mpvcore/player/osd.c
index f9b8fdad87..c7964c03f9 100644
--- a/mpvcore/player/osd.c
+++ b/mpvcore/player/osd.c
@@ -38,7 +38,6 @@
#include "sub/sub.h"
#include "mp_core.h"
-#include "mp_osd.h"
#include "command.h"
#define saddf(var, ...) (*(var) = talloc_asprintf_append((*var), __VA_ARGS__))
@@ -368,6 +367,7 @@ static void set_osd_bar_chapters(struct MPContext *mpctx, int type)
}
}
+// osd_function is the symbol appearing in the video status, such as OSD_PLAY
void set_osd_function(struct MPContext *mpctx, int osd_function)
{
struct MPOpts *opts = mpctx->opts;