summaryrefslogtreecommitdiffstats
path: root/player/loadfile.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-10 03:16:43 +0200
committerwm4 <wm4@nowhere>2014-09-10 03:24:45 +0200
commite9b756c7ad7d51b41b2ccf0f72eb904b0eea2169 (patch)
tree10f6909622b28c8e5e7376137d1651e44055d50f /player/loadfile.c
parent564b957cc31a33124a935ea8678e5bbb710fc082 (diff)
downloadmpv-e9b756c7ad7d51b41b2ccf0f72eb904b0eea2169.tar.bz2
mpv-e9b756c7ad7d51b41b2ccf0f72eb904b0eea2169.tar.xz
input: remove central select() call
This is now unused. Get rid of it and all surrounding infrastructure, and replace the remaining "wakeup pipe" with a semaphore.
Diffstat (limited to 'player/loadfile.c')
-rw-r--r--player/loadfile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index 2917569017..4f4db2a376 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -1406,7 +1406,6 @@ struct playlist_entry *mp_next_file(struct MPContext *mpctx, int direction,
// Return if all done.
void mp_play_files(struct MPContext *mpctx)
{
- mp_input_set_main_thread(mpctx->input);
mpctx->quit_player_rc = EXIT_NONE;
for (;;) {
idle_loop(mpctx);