Mercurial > mplayer.hg
changeset 7261:ec187e86b20b
pass outflags[] index via sh->outfmtidx to the vd->control() func (for VfW)
small hack - but other possible solutions are even worse :)
author | arpi |
---|---|
date | Tue, 03 Sep 2002 21:40:30 +0000 |
parents | 3e7a601c5874 |
children | 5fc42290c305 |
files | libmpcodecs/vd.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd.c Tue Sep 03 21:13:48 2002 +0000 +++ b/libmpcodecs/vd.c Tue Sep 03 21:40:30 2002 +0000 @@ -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;