[vls-devel] CVS Commit: vls (nitrox)
cvs at videolan.org
cvs at videolan.org
Sun Nov 16 18:49:08 CET 2003
Update of /cvs/videolan/vls/src/mpeg
Modified Files:
Tag: v0_5_0
dvbpsi.h ts.cpp ts.h tsmux.cpp tsmux.h
Log Message:
Fix for the Program number don't match bug
Description of the bug:
The PAT gives the list of the available programs in the current stream and
the PID of their PMT (called PMT_PID).
Usually, each program has a different PMT_PID.
When streaming, we just need to put a filter on this PID and send the packets
just as other packets. PAT is the only table we need to change.
But the 13818-1 standard don't tell anything about that. Some multiplexers
use the same PMT_PID for more than one program ... The pervious filter is
not enough !
For each PMT with the right PID, we need to check to which program number
it refers and send the packet only if it's the right one.
Moreover, we can't just send it like we received it ... we need to regenerate
it in order to keep the continuity counter.
By the way, the libdvbpsi should not complain about receiving a PMT with a
program number that doesn't match. It should only ignore quietly that's the
reason why I removed the message in my last commit (it uses lost of CPU to
display it when streaming a lot of channels).
With last libdvbpsi,this commit should fix all that. Please try it and
tell me if it works well.
--
nitrox
--
This is the vls-devel mailing-list, see http://www.videolan.org/streaming/
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 vls-devel
mailing list