[vlc-devel] MPEG-TS time info - problem with RTP input
remi at remlab.net
Mon Oct 26 08:46:24 CET 2009
On Mon, 26 Oct 2009 08:34:10 +0100, Marian Ďurkovič <md at bts.sk> wrote:
> To fix, it's necessary to patch RTP input to pass those two Control()
> calls down the chain to stream_Demux in case MPEG-TS is being received.
I considered extending stream_Demux to forward controls. Unfortunately, the
way stream_Demux works, this is most likely to cause deadlocks, at least if
the control request needs to return some kind of result. Namely, the
stream_demux thread could be waiting for data from the input thread
(callstack: pf_demux -> stream_Read), while the input thread would be
waiting for control results from the stream_demux thread (callstack:
pf_control -> stream_DemuxControl)
> Any pitfalls / show stoppers here?
More information about the vlc-devel