diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-09 00:36:28 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-09 00:36:28 +0000 |
commit | f481e7870b0fcb7fec1614efab4fc7baf380bf1c (patch) | |
tree | b5cbdd1b187650efb3bea73bb69c862fdfae74ba /mplayer.c | |
parent | 64868a36cd8113336745f5baf336ae76553de9ab (diff) | |
download | mpv-f481e7870b0fcb7fec1614efab4fc7baf380bf1c.tar.bz2 mpv-f481e7870b0fcb7fec1614efab4fc7baf380bf1c.tar.xz |
Remove the need for code using stream to export an mp_input_check_interrupt()
function. It also removes the compile-time dependency on input.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26358 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2855,6 +2855,8 @@ if(slave_mode) mp_input_add_cmd_fd(0,USE_SELECT,MP_INPUT_SLAVE_CMD_FUNC,NULL); else if(!noconsolecontrols) mp_input_add_event_fd(0, getch2); +// Set the libstream interrupt callback +stream_set_interrupt_callback(mp_input_check_interrupt); #ifdef HAVE_MENU if(use_menu) { |