[mythtv] [PATCH] DVB fixes
augusto at carhil.net
Sat Dec 20 15:58:03 EST 2003
Here is my patch with a number of fixes for the DVB support under MythTV.
-not really a DVB fix, but a work around a seg fault.
-That was a mistake where the transform.c and .h were swapped.
3) transform.c, transform.h
These files came from an excellent library and tools from the metzlerbros. However, the library was designed for use with files and to be run from scratch for each file, that's the reason why the use "static" variables inside a sub-routine.
MythTV supports streams and multiple cards.
-This patch fixes a problem when you have more than one card or -- like in Europe -- multiple sources of different type of MPEG2 -- for example with different data rates, etc. It will generate a correct header for the stream.
-Fixes a bug with the dvb_sats generation. New version 1023.
-The wait_for_seqstart isn't necessary and if enable will generate broken MPEG2 PS, because it will remove the initial header 00 00 01 BA from the file.
-With this patch and the patch in transform.c, the streams are now more compliant with MPEG2. Cinerella can open them now and other tools will work better as well.
-Improve the Continuity Counter detection and add the detection of bad TS packets.
-Proper map value to store PIDs.
-Added the proper buffer size for faster streams. The actual code is in dvbrecorder.cpp
-Fixes a segfault every time you stop playing/recording.
I've been testing these changes for while now and hope it will work for others as well.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 11532 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20031220/21b7ffa1/dvb_fixes.obj
More information about the mythtv-dev