summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer/psignal.c
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/mplayer/psignal.c')
-rw-r--r--Gui/mplayer/psignal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Gui/mplayer/psignal.c b/Gui/mplayer/psignal.c
index 8dc24da2e8..0e2fa8d504 100644
--- a/Gui/mplayer/psignal.c
+++ b/Gui/mplayer/psignal.c
@@ -16,6 +16,7 @@
#include "../../config.h"
#include "../../libvo/x11_common.h"
+#include "../../libmpdemux/stream.h"
#include "./mplayer.h"
@@ -174,6 +175,7 @@ void mplMainSigHandler( int s )
strcat( mplShMem->Filename,gtkShMem->fs.filename );
printf( "%%%%%%%% Playing file: %s\n",mplShMem->Filename );
mplShMem->FilenameChanged=1;
+ mplShMem->StreamType=STREAMTYPE_FILE;
if ( mplMainAutoPlay ) mplGeneralTimer=1;
break;
case evMessageBox: