diff options
author | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-03-16 18:08:58 +0000 |
---|---|---|
committer | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-03-16 18:08:58 +0000 |
commit | e35bacb0bbdc1cd51066d14b5f17d2c32c59bbe7 (patch) | |
tree | 20d891199dc9fb18e8b1475efc6f0dd860619426 | |
parent | 93aa5a1c68efaa1813746021339bd2588b764d3a (diff) |
common vo->flip_page() call
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@118 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | mplayer.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1460,7 +1460,7 @@ switch(has_video){ 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 @@ switch(has_video){ 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(has_video){ } // switch //------------------------ frame decoded. -------------------- + current_module="flip_page"; + + video_out->flip_page(); + current_module=NULL; if(eof) break; |