changeset 117:b21b7c2fa180

common vo->flip_page() call
author arpi_esp
date Fri, 16 Mar 2001 18:08:58 +0000
parents a6bba36c8db7
children 7c67c52142ed
files mplayer.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Fri Mar 16 18:05:21 2001 +0000
+++ b/mplayer.c	Fri Mar 16 18:08:58 2001 +0000
@@ -1460,7 +1460,7 @@
       if(opendivx_src[0]){
         video_out->draw_slice(opendivx_src,opendivx_stride,
                             movie_size_x,movie_size_y,0,0);
-        video_out->flip_page();
+//        video_out->flip_page();
         opendivx_src[0]=NULL;
       }
 
@@ -1495,7 +1495,7 @@
 
       t2=GetTimer();t=t2-t;video_time_usage+=t*0.000001f;
         video_out->draw_frame((uint8_t **)&avi_header.our_out_buffer);
-        video_out->flip_page();
+//        video_out->flip_page();
       t2=GetTimer()-t2;vout_time_usage+=t2*0.000001f;
 
       ++num_frames;
@@ -1664,6 +1664,10 @@
 } // switch
 //------------------------ frame decoded. --------------------
 
+    current_module="flip_page";
+
+    video_out->flip_page();
+
     current_module=NULL;
 
     if(eof) break;