[vlc-devel] demuxer thoughts

John Michael Zorko j.zorko at att.net
Sun May 25 23:52:24 CEST 2003

Hello, all ...

What do you think about making the demux interface a little more 
configurable i.e. instead of pf_demuxdrop (like I was thinking before), 
what if we did something like pf_setdemuxoptions or something.  This 
function pointer would be dereferenced and called by the input thread 
(vlc_root/src/input/input.c) whenever it needs to tell the demux module 
to act a little differently i.e. start or stop fast-forwarding / 
rewinding, and this way the main input_thread_t thread can still call 
pf_demux like it does now.  Each demux module would implement 
SetDemuxOptions() in it's own way (if at all), and then I think we 
remain open i.e. the input thread is still agnostic to the type of 
media being handled, it just calls pf_setdemuxoptions when it needs to, 
and pf_demux when it needs to, and that's it.

Thoughts?  I was thinking about this over breakfast at a local 
restaurant with a super-cute girl waiting on me.  Like most I think, 
i'm inspired by beauty :-)



Falling You - exploring the beauty of voice and sound
New EP, "hope thrown down," available now at

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