[vlc-devel] Re: Filter Development
Christophe Mutricy
xtophe at nxtelevision.com
Thu Sep 21 12:32:18 CEST 2006
On Thu, Sep 21, 06 at 11:03 +0200, Adam Collins wrote:
> Hi all
>
> I am trying to write a new video filter for VLC, I can add a new filter
> checkbox to the extra panel but cannot find how vlc implements that filter.
> all i can see at the moment is that it puts the name into the config file
>
> ChangeVFiltersString( p_intf, vfilters[i_filter].psz_filter ,
> event.IsChecked() ? VLC_TRUE : VLC_FALSE );
>
> which then does
>
> config_PutPsz( p_intf, "vout-filter", psz_string );
>
> so the name of the filter is now in the config structure
>
> but then i lose it, does the renderer then parse the config structure and
> pass control to the functions defined in <videofilter>.c?
You should take care of the gui implementation as the end. not at the
start.
For developing you should use the command line with --video-filter
your_filter
For the video filter you should look how it's done in
modules/video_filter. and take example on a simple one or one doing
stuff similar to the one you're developing. Btw, what kind of filter are
you doing ?
hth,
--
Xtophe
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel
mailing list