]> git.sesse.net Git - vlc/blobdiff - plugins/macosx/vout_macosx.c
* Fixed the BeOS compile typo.
[vlc] / plugins / macosx / vout_macosx.c
index 7690712af18173954f0c0248348ce5f9da7ea9ce..ac171ae7cb36958cfd32e46d0281a41af47b15ef 100644 (file)
@@ -256,7 +256,7 @@ static int CreateDisplay( vout_thread_t *p_vout )
 
 //FIXME - if I ever dispose of the Gworlds and recreate them, i'll have a new address
 //and I'll need to tell vout about them...  dunno what problems vout might have if we just updateGworld  
-    vout_SetBuffers( p_vout, hPixmapBaseAddr0, hPixmapBaseAddr1 );
+    p_vout->pf_setbuffers( p_vout, hPixmapBaseAddr0, hPixmapBaseAddr1 );
 
     return 0;
 }
@@ -340,7 +340,8 @@ static int MakeWindow( vout_thread_t *p_vout )
 }
 
 /*****************************************************************************
- * AllocBuffer: forces offscreen allocation (if different than current) in memory type specified
+ * AllocBuffer: forces offscreen allocation (if different than current) in
+ * memory type specified
  *****************************************************************************/
 static int AllocBuffer ( vout_thread_t *p_vout, short index )
 {
@@ -455,14 +456,15 @@ static void vout_Display( vout_thread_t *p_vout )
 {
 //    intf_ErrMsg( "vout_Display()" );
 
-    if ( p_vout->p_sys->playback_status != PAUSED &&  p_vout->p_sys->playback_status != STOPPED )
+//we should not be called if we set the status to paused or stopped via the interface
+//    if ( p_vout->p_sys->playback_status != PAUSED &&  p_vout->p_sys->playback_status != STOPPED )
         BlitToWindow ( p_vout, p_vout->i_buffer_index );
 }
 
 
 /*****************************************************************************
  * flushQD: flushes buffered window area
 *****************************************************************************/
+ *****************************************************************************/
 void flushQD( vout_thread_t *p_vout )
 {
     CGrafPtr thePort;
@@ -491,7 +493,7 @@ void flushQD( vout_thread_t *p_vout )
 
 /*****************************************************************************
  * BlitToWindow: checks offscreen and blits it to the front
 *****************************************************************************/
+ *****************************************************************************/
 
 void BlitToWindow( vout_thread_t *p_vout, short index )
 {