[vlc-devel] Re: conclusion on input callback

Clément Stenac zorglub at via.ecp.fr
Thu Jan 19 14:49:37 CET 2006


Hello,

You'll probably discover that this only works if all your videos use the
same parameters (mainly width/height, but also chroma, aspect ratios,
...).

The reason if that if the next playlist item has the same video
properties, the video output is reused, so it is not killed, and neither
is your filter.

But anyway, if the vout is recreated, your filter will be too and you just
have to get the name in the init of the filter, in this case, so.

So you have to do both
1/ In init, initialize the name using the parent input_thread
2/ React to playlist-current callback to keep it updated

-- 
Clément

-- 
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