[Mplayer-cvslog] CVS: main/libmpcodecs vd.c,1.51,1.52
Arpi of Ize
arpi at mplayerhq.hu
Tue Sep 3 23:40:50 CEST 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv31267
Modified Files:
vd.c
Log Message:
pass outflags[] index via sh->outfmtidx to the vd->control() func (for VfW)
small hack - but other possible solutions are even worse :)
Index: vd.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- vd.c 1 Sep 2002 15:10:01 -0000 1.51
+++ vd.c 3 Sep 2002 21:40:30 -0000 1.52
@@ -166,6 +166,7 @@
mp_msg(MSGT_CPLAYER,MSGL_DBG2,"vo_debug: query(%s) returned 0x%X (i=%d) \n",vo_format_name(out_fmt),flags,i);
if((flags&2) || (flags && j<0)){
// check (query) if codec really support this outfmt...
+ sh->outfmtidx=j; // pass index to the control() function this way
if(mpvdec->control(sh,VDCTRL_QUERY_FORMAT,&out_fmt)==CONTROL_FALSE)
continue;
j=i; vo_flags=flags; if(flags&2) break;
More information about the MPlayer-cvslog
mailing list