[Mplayer-cvslog] CVS: main mplayer.c,1.387,1.388
Arpi of Ize
arpi at mplayer.dev.hu
Sat Feb 9 01:47:58 CET 2002
- Previous message: [Mplayer-cvslog] CVS: main/libvo vesa_lvo.c,1.15,1.16 video_out.h,1.15,1.16 video_out_internal.h,1.8,1.9 vo_3dfx.c,1.10,1.11 vo_aa.c,1.19,1.20 vo_dga.c,1.39,1.40 vo_directfb.c,1.9,1.10 vo_dxr3.c,1.44,1.45 vo_fbdev.c,1.59,1.60 vo_fsdga.c,1.8,1.9 vo_ggi.c,1.13,1.14 vo_gl.c,1.20,1.21 vo_gl2.c,1.13,1.14 vo_md5.c,1.9,1.10 vo_mga.c,1.22,1.23 vo_mpegpes.c,1.18,1.19 vo_null.c,1.5,1.6 vo_odivx.c,1.9,1.10 vo_pgm.c,1.9,1.10 vo_png.c,1.11,1.12 vo_sdl.c,1.65,1.66 vo_svga.c,1.41,1.42 vo_syncfb.c,1.9,1.10 vo_tdfxfb.c,1.5,1.6 vo_vesa.c,1.65,1.66 vo_x11.c,1.58,1.59 vo_xmga.c,1.43,1.44 vo_xv.c,1.51,1.52 vo_xvidix.c,1.18,1.19 vo_zr.c,1.7,1.8 vosub_vidix.c,1.26,1.27
- Next message: [Mplayer-cvslog] CVS: main/drivers mga_vid.c,1.36,1.37
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv24060
Modified Files:
mplayer.c
Log Message:
libvo's query_ stuff replaced by new control() - patch by David Holm
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.387
retrieving revision 1.388
diff -u -r1.387 -r1.388
--- mplayer.c 8 Feb 2002 16:00:13 -0000 1.387
+++ mplayer.c 9 Feb 2002 00:47:55 -0000 1.388
@@ -1229,7 +1229,7 @@
#ifdef USE_LIBVO2
vo_flags=vo2_query_format(video_out);
#else
- vo_flags=video_out->query_format(out_fmt);
+ vo_flags=video_out->control(VOCTRL_QUERY_FORMAT, &out_fmt);
#endif
mp_msg(MSGT_CPLAYER,MSGL_DBG2,"vo_debug: query(%s) returned 0x%X\n",vo_format_name(out_fmt),vo_flags);
if(vo_flags) break;
@@ -1367,7 +1367,8 @@
}
inited_flags|=INITED_VO;
mp_msg(MSGT_CPLAYER,MSGL_V,"INFO: Video OUT driver init OK!\n");
- video_out->query_vaa(&vo_vaa);
+ if(video_out->control(VOCTRL_QUERY_VAA, &vo_vaa)==VO_NOTIMPL)
+ memset(&vo_vaa,0,sizeof(vo_vaa_t));
/*
get_hw_eq
*/
@@ -2580,11 +2581,15 @@
}
fflush(stdout);
+ if(sh_video){
+ current_module="seek_video_reset";
+ video_out->control(VOCTRL_RESET,NULL);
+ }
+
if(sh_audio){
current_module="seek_audio_reset";
audio_out->reset(); // stop audio, throwing away buffered data
}
-
#ifdef USE_OSD
// Set OSD:
if(osd_level){
- Previous message: [Mplayer-cvslog] CVS: main/libvo vesa_lvo.c,1.15,1.16 video_out.h,1.15,1.16 video_out_internal.h,1.8,1.9 vo_3dfx.c,1.10,1.11 vo_aa.c,1.19,1.20 vo_dga.c,1.39,1.40 vo_directfb.c,1.9,1.10 vo_dxr3.c,1.44,1.45 vo_fbdev.c,1.59,1.60 vo_fsdga.c,1.8,1.9 vo_ggi.c,1.13,1.14 vo_gl.c,1.20,1.21 vo_gl2.c,1.13,1.14 vo_md5.c,1.9,1.10 vo_mga.c,1.22,1.23 vo_mpegpes.c,1.18,1.19 vo_null.c,1.5,1.6 vo_odivx.c,1.9,1.10 vo_pgm.c,1.9,1.10 vo_png.c,1.11,1.12 vo_sdl.c,1.65,1.66 vo_svga.c,1.41,1.42 vo_syncfb.c,1.9,1.10 vo_tdfxfb.c,1.5,1.6 vo_vesa.c,1.65,1.66 vo_x11.c,1.58,1.59 vo_xmga.c,1.43,1.44 vo_xv.c,1.51,1.52 vo_xvidix.c,1.18,1.19 vo_zr.c,1.7,1.8 vosub_vidix.c,1.26,1.27
- Next message: [Mplayer-cvslog] CVS: main/drivers mga_vid.c,1.36,1.37
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list