Quoting Ville Syrj�l� <[EMAIL PROTECTED]>:
> Something like this maybe:
>
> while () {
>   Blit();
>   wait...
>   Flip( DSFLIP_ONSYNC );
>   SetField( 0 );
>   wait...
>   SetField( 1 );
> }
>
> so it's Blit() and Flip() at 25 fps and SetField() at 50 fps.
Yes ! It works like a charm :-) I had it sitting in my dev tree for some time,
but another bug was blocking me from testing.

However, there is one glitch : I do a stretchblit with a source rectangle that
sometimes has a non-zero x or y coordinate (width and height are also adjusted
at that point). It seems that the deinterlacing is done after the stretch.
Could this be easily resolved or do I have to blit to a temporary surface ?

For the moment, I use WaitForSync between the two SetField calls, but
sometimes the video is a little choppy (I think that a field is skipped).

Ciaos,

Kristof



Reply via email to