summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-23 20:37:57 +0200
committerwm4 <wm4@nowhere>2014-04-23 21:16:51 +0200
commit2b26517ef705c4043419e2e70dacd7760af1137e (patch)
treedf04daafcbc47dd91a35b9404b4d8bd1e9373609 /player
parentac1a21e488f1c6fb4963b40e0ea2da3d523c45ba (diff)
downloadmpv-2b26517ef705c4043419e2e70dacd7760af1137e.tar.bz2
mpv-2b26517ef705c4043419e2e70dacd7760af1137e.tar.xz
dispatch: move into its own source file
This was part of osdep/threads.c out of laziness. But it doesn't contain anything OS dependent. Note that the rest of threads.c actually isn't all that OS dependent either (just some minor ifdeffery to work around the lack of clock_gettime() on OSX).
Diffstat (limited to 'player')
-rw-r--r--player/client.c1
-rw-r--r--player/main.c2
-rw-r--r--player/playloop.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/player/client.c b/player/client.c
index afcff83f9f..083785b0ee 100644
--- a/player/client.c
+++ b/player/client.c
@@ -23,6 +23,7 @@
#include "common/msg.h"
#include "common/msg_control.h"
#include "input/input.h"
+#include "misc/dispatch.h"
#include "options/m_config.h"
#include "options/m_option.h"
#include "options/m_property.h"
diff --git a/player/main.c b/player/main.c
index 6217c6af64..1cec6a0324 100644
--- a/player/main.c
+++ b/player/main.c
@@ -27,11 +27,11 @@
#include "config.h"
#include "talloc.h"
+#include "misc/dispatch.h"
#include "osdep/io.h"
#include "osdep/priority.h"
#include "osdep/terminal.h"
#include "osdep/timer.h"
-#include "osdep/threads.h"
#include "common/av_log.h"
#include "common/codecs.h"
diff --git a/player/playloop.c b/player/playloop.c
index 204a19241f..d182d090c4 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -33,8 +33,8 @@
#include "common/playlist.h"
#include "input/input.h"
+#include "misc/dispatch.h"
#include "osdep/terminal.h"
-#include "osdep/threads.h"
#include "osdep/timer.h"
#include "audio/mixer.h"