aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mplayer/files/w100-mplayer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mplayer/files/w100-mplayer.patch')
-rw-r--r--recipes/mplayer/files/w100-mplayer.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes/mplayer/files/w100-mplayer.patch b/recipes/mplayer/files/w100-mplayer.patch
new file mode 100644
index 0000000000..8ce37d014c
--- /dev/null
+++ b/recipes/mplayer/files/w100-mplayer.patch
@@ -0,0 +1,32 @@
+Index: MPlayer-1.0rc1/mplayer.c
+===================================================================
+--- MPlayer-1.0rc1.orig/mplayer.c
++++ MPlayer-1.0rc1/mplayer.c
+@@ -807,6 +807,17 @@ static void exit_sighandler(int x){
+ exit_player(NULL);
+ }
+
++//w100 driver additions
++int g_sigcont = 0;
++
++static void misc_sighandler(int x){
++ switch(x){
++ case SIGCONT:
++ ++ g_sigcont;
++ break;
++ }
++}
++
+ extern void mp_input_register_options(m_config_t* cfg);
+
+ #include "mixer.h"
+@@ -3216,6 +3227,9 @@ current_module = NULL;
+ #endif
+ #endif
+
++// w100 driver additions
++ signal(SIGCONT,misc_sighandler);
++
+ #ifdef HAVE_NEW_GUI
+ if(use_gui){
+ guiInit();