[vlc-devel] Re: toggling deinterlacing on the fly

Gildas Bazin gbazin at altern.org
Fri Apr 16 13:01:30 CEST 2004


On Friday 16 April 2004 11:12, Sigmund Augdal wrote:
> > As much as I would like to dig into vlc this deep, I cannot take on 
> > this job, simply because I don't have the time. I will look arround a 
> > little in that code and if I see a relatively fast way to implement the 
> > above distinction, I might do it, but I'm more inclined to stick to the 
> > BeOS side of things (I fear the collective hatred of the group if I 
> > screw up the build on other platforms...). One way is to copy some 
> > parts of the deinterlacer module into the BeOS vout, and implement the 
> > on-the-fly filtering there. As soon as vlc can do this internally, I 
> > remove that code again. Same goes for the adjust module btw. I really 
> > wish I had more time, or know plain C better.
>
> On the fly deinterlace changing does work on other platforms. By 
recreating
> the entire vout chain. Without a too bothersome delay without video.
> 

Yes, this should do the trick:

vlc_value_t val; val.psz_string = "discard";
( choices are: "", "discard", "blend", "mean", "bob", "linear"
They are also obtainable via: var_Change( p_vout, "deinterlace", 
VLC_VAR_GETLIST, &val_list, NULL ); )
var_Set( p_vout, "deinterlace", val );

--
Gildas

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list