[MPlayer-dev-eng] [PATCH] hwsync

Arpi arpi at thot.banki.hu
Wed Jan 16 21:07:59 CET 2002


Hi,

> ARGH, of course you're right. But how about 0x10 then?

what's teh problem with the original and still used 0x100 ?
i really can't understand why do you want to change it

> 
> On Wed, 2002-01-16 at 20:52, Arpi wrote:
> > Hi,
> > 
> > > Hmm, the tech doc said hwsync was 0x100. The obvious predecessor is 0xf
> > 
> > 0xf ????
> > where, what, when?
> > 
> > 0xf can't be a flag, as it's 8|4|2|1, so 4 flags ored...
> > 
> > > though, this patch modifies mplayer.c and tech-eng doc to use 0xf. I
> > > forgot to fix vo_dvb though (next vo_dxr3 commit will be updated, but
> > > I'm close to fixing hardware sync right now so I didn't want to send any
> > > experimental code)...
> > > 
> > > //David
> > > 
> > > 
> > > Index: mplayer.c
> > > ===================================================================
> > > RCS file: /cvsroot/mplayer/main/mplayer.c,v
> > > retrieving revision 1.368
> > > diff -u -r1.368 mplayer.c
> > > --- mplayer.c	15 Jan 2002 17:03:18 -0000	1.368
> > > +++ mplayer.c	16 Jan 2002 19:35:01 -0000
> > > @@ -1631,7 +1631,7 @@
> > >        }
> > >  #endif
> > >  
> > > -if(!(vo_flags&256)){ // flag 256 means: libvo driver does its timing (dvb card)
> > > +if(!(vo_flags&0xf)){ // flag 0xf means: libvo driver does its timing (dvb/dxr3 card)
> > >  
> > >  #ifdef HAVE_RTC
> > >      if(rtc_fd>=0){
> > > Index: DOCS/tech/tech-eng.txt
> > > ===================================================================
> > > RCS file: /cvsroot/mplayer/main/DOCS/tech/tech-eng.txt,v
> > > retrieving revision 1.18
> > > diff -u -r1.18 tech-eng.txt
> > > --- DOCS/tech/tech-eng.txt	15 Jan 2002 00:24:57 -0000	1.18
> > > +++ DOCS/tech/tech-eng.txt	16 Jan 2002 19:35:02 -0000
> > > @@ -191,8 +191,8 @@
> > >  			0x1  -  supported (by hardware or conversion)
> > >  			0x2  -  supported (by hardware, without conversion)
> > >  			0x4  -  sub/osd supported (has draw_alpha)
> > > -			0x8  -  hardware handles subpics
> > > -			0x100  -  driver/hardware handles timing (blocking)
> > > +			0x8  -  hardware handles subpics (see libvo/vo_dxr3.c)
> > > +			0xf  -  driver/hardware handles timing (blocking)
> > >  
> > >     IMPORTANT: it's mandatorial that every vo driver support the YV12 format,
> > >  	 and one (or both) of BGR15 and BGR24, with conversion, if needed.
> > > 
> > > 
> > > _______________________________________________
> > > MPlayer-dev-eng mailing list
> > > MPlayer-dev-eng at mplayerhq.hu
> > > http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> > > 
> > > 
> > 
> > 
> > A'rpi / Astral & ESP-team
> > 
> > --
> > mailto:arpi at thot.banki.hu
> > http://esp-team.scene.hu
> > _______________________________________________
> > MPlayer-dev-eng mailing list
> > MPlayer-dev-eng at mplayerhq.hu
> > http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> 
> 
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> 
> 


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-dev-eng mailing list