[Mplayer-cvslog] CVS: main/Gui/mplayer sw.h,1.2,1.3

Zoltan Ponekker pontscho at mplayer.dev.hu
Tue Aug 28 17:54:20 CEST 2001


Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mplayer:/var/tmp.root/cvs-serv26023/Gui/mplayer

Modified Files:
	sw.h 
Log Message:
fix hprogressbar

Index: sw.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/sw.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sw.h	27 Aug 2001 23:56:43 -0000	1.2
+++ sw.h	28 Aug 2001 15:54:18 -0000	1.3
@@ -6,11 +6,7 @@
 
 void mplSubDraw( wsParamDisplay )
 {
- if ( !appMPlayer.subWindow.Visible || mplShMem->Playing )
-  {
-   mplSendMessage( mplExposeEvent );
-   return;
-  }
+ if ( !appMPlayer.subWindow.Visible || mplShMem->Playing ) return;
 
  if ( mplSubRender )
   {
@@ -19,9 +15,8 @@
    if ( appMPlayer.sub.Bitmap.Image ) wsConvert( &appMPlayer.subWindow,appMPlayer.sub.Bitmap.Image,appMPlayer.sub.Bitmap.ImageSize );
    mplSubRender=0;
    if ( appMPlayer.sub.Bitmap.Image ) wsPutImage( &appMPlayer.subWindow );
+   XFlush( wsDisplay );
   }
- XFlush( wsDisplay );
- XSync( wsDisplay,False );
 }
 
 void mplSubMouseHandle( int Button,int X,int Y,int RX,int RY )
@@ -66,4 +61,4 @@
 }
 
 //void mplSubResizeHandle( unsigned int X,unsigned int Y,unsigned int width,unsigned int height )
-//{ mplResize( X,Y,width,height ); }
\ No newline at end of file
+//{ mplResize( X,Y,width,height ); }




More information about the MPlayer-cvslog mailing list