[vlc-devel] [PATCH] fix mux functionality, avoid dumping all ES in first PMT

Laurent Aimar fenrir at via.ecp.fr
Mon Aug 4 21:20:39 CEST 2008

On Mon, Aug 04, 2008, Marnik Vander Elst wrote:
>    All the pids get dumped in the first PMT, and somehow I lost the id's I
>    gave to bridge-out. If the config is not what you mean, could you tell me
>    what it should be? It don't understand " (You should be able to append
>    bridge-in:... to any dst= from any duplicate, or you can even use a
>    dedicated dst=)". I want to join 3 streams and mux them together with
>    PID's that I choose, but they always end up in the first PMT. I did some
>    tests (edited the code) and the GetPMT always looked for the original
>    input PID in the PMT-map, not the ID that is given in bridge-out.
 Ok, so I look at it a bit more:

 - you "missed" (that one was a bit hard to find ;) that bridge-in apply a
offset to the ID that enters it. You should set it to 0 (bridge-in{id-offset=0}.
It will solve your "all ES in the first PMT" problem. If you confirm it, I will
not apply your patch.

 - I failed to see how to change the pid of at least one stream as bridge-in
is inserted after one stream and for this one its ID cannot be set :(



More information about the vlc-devel mailing list