[mythtv] [PATCH] mpegts fixups

Kenneth Aafløy lists at kenneth.aafloy.net
Sat Oct 23 01:39:02 UTC 2004


Hi,

Did some testing with CVS on mpegts today and it appears to only be able to 
tune to service id 1. The attached patch fixes this by picking the first 
discovered service id if the current sid is not found in the stream.

I've also moved the streams_changed call into mpegts so that the codec_id can 
be filled in so the listener has some proper data.

There is a SDT (Service Description Table) scanning feature in mpegts, but SDT 
is not part of the MPEG2 specification, it's a DVB extension. I've commented 
this out for now, untill we can find a better method than scanning the first 
32000 packets for a SDT, really boring if the only service is audio and it's 
not there (also cut's off a small amount of initial open).

Kenneth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpegts.patch
Type: text/x-diff
Size: 3522 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041023/73f24397/mpegts.bin


More information about the mythtv-dev mailing list