summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer/play.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-24 10:58:18 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-24 10:58:18 +0000
commit8cf74425f9935b30da5fda4b78ca5281456886f9 (patch)
treeaf19430d2962ba9d14c3fea29a4829ed76f926f5 /Gui/mplayer/play.c
parent90e0b71a9e1178e4a2bededf6f4b37131b480422 (diff)
downloadmpv-8cf74425f9935b30da5fda4b78ca5281456886f9.tar.bz2
mpv-8cf74425f9935b30da5fda4b78ca5281456886f9.tar.xz
add vcd,dvd,etcsymbol handling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2448 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/play.c')
-rw-r--r--Gui/mplayer/play.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c
index bfcb107541..c920fa5579 100644
--- a/Gui/mplayer/play.c
+++ b/Gui/mplayer/play.c
@@ -121,6 +121,7 @@ void mplMPlayerInit( int argc,char* argv[], char *envp[] )
mplShMem=calloc( 1,sizeof( mplCommStruct ) );
mplShMem->Balance=50.0f;
+ mplShMem->StreamType=-1;
memset(&sa, 0, sizeof(sa));
sa.sa_handler = mplMainSigHandler;
sigaction( SIGTYPE,&sa,NULL );
@@ -178,21 +179,6 @@ void ChangeSkin( void )
wsResizeImage( &appMPlayer.menuWindow,appMPlayer.menuBase.width,appMPlayer.menuBase.height );
}
-/*
- if ( appMPlayer.sub.Bitmap.Image ) wsResizeImage( &appMPlayer.subWindow,appMPlayer.sub.Bitmap.Width,appMPlayer.sub.Bitmap.Height );
- if ( !mplShMem->Playing )
- {
- if ( !appMPlayer.subWindow.isFullScreen )
- {
- wsResizeWindow( &appMPlayer.subWindow,appMPlayer.sub.width,appMPlayer.sub.height );
- wsMoveWindow( &appMPlayer.subWindow,appMPlayer.sub.x,appMPlayer.sub.y );
- }
- wsSetBackgroundRGB( &appMPlayer.subWindow,appMPlayer.subR,appMPlayer.subG,appMPlayer.subB );
- wsClearWindow( appMPlayer.subWindow );
- if ( appMPlayer.sub.Bitmap.Image ) wsConvert( &appMPlayer.subWindow,appMPlayer.sub.Bitmap.Image,appMPlayer.sub.Bitmap.ImageSize );
- mplSubRender=1; wsPostRedisplay( &appMPlayer.subWindow );
- }
-*/
if ( appMPlayer.sub.Bitmap.Image ) wsResizeImage( &appMPlayer.subWindow,appMPlayer.sub.Bitmap.Width,appMPlayer.sub.Bitmap.Height );
if ( ( !appMPlayer.subWindow.isFullScreen )&&( !mplShMem->Playing ) )
{