mirror of
https://github.com/mpv-player/mpv
synced 2025-02-28 11:20:56 +00:00
10l+
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4798 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ec21f4caa0
commit
9be78192bb
@ -81,7 +81,6 @@ void mplInit( int argc,char* argv[], char *envp[], void* disp )
|
||||
wsCreateImage( &appMPlayer.subWindow,appMPlayer.sub.Bitmap.Width,appMPlayer.sub.Bitmap.Height );
|
||||
|
||||
vo_setwindow( appMPlayer.subWindow.WindowID, appMPlayer.subWindow.wGC );
|
||||
vo_setwindowsize( appMPlayer.sub.width,appMPlayer.sub.height );
|
||||
|
||||
i=wsHideFrame|wsMaxSize|wsHideWindow;
|
||||
if ( appMPlayer.mainDecoration ) i=wsShowFrame|wsMaxSize|wsHideWindow;
|
||||
|
@ -126,9 +126,6 @@ void mplState( void )
|
||||
|
||||
void mplResize( unsigned int X,unsigned int Y,unsigned int width,unsigned int height )
|
||||
{
|
||||
// printf( "----resize---> %dx%d --- \n",width,height );
|
||||
vo_setwindowsize( width,height );
|
||||
vo_resize=1;
|
||||
}
|
||||
|
||||
void mplMPlayerInit( int argc,char* argv[], char *envp[] )
|
||||
|
@ -42,7 +42,7 @@
|
||||
#ifndef SIGTYPE
|
||||
#ifdef SIGUSR2
|
||||
#define SIGTYPE SIGUSR2
|
||||
#warning should we use SIGUSR1 or SIGUSR2 on linux, bsd, ... too?
|
||||
//#warning should we use SIGUSR1 or SIGUSR2 on linux, bsd, ... too?
|
||||
#else
|
||||
#ifdef __bsdi__
|
||||
#define _NSIG NSIG
|
||||
|
@ -11,11 +11,7 @@ void mplSubDraw( wsParamDisplay )
|
||||
if ( !appMPlayer.subWindow.Mapped ||
|
||||
appMPlayer.subWindow.Visible == wsWindowNotVisible ) return;
|
||||
|
||||
if ( mplShMem->Playing )
|
||||
{
|
||||
vo_expose=1;
|
||||
mplSubRender=0;
|
||||
}
|
||||
if ( mplShMem->Playing ) mplSubRender=0;
|
||||
|
||||
if ( mplSubRender )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user