[mythtv] [PATCH] DVB fixes

Augusto Cardoso augusto at carhil.net
Sat Dec 20 15:58:03 EST 2003


Hi!

Here is my patch with a number of fixes for the DVB support under MythTV.

1) mpeg12.c
	-not really a DVB fix, but a work around a seg fault.
2) libdvbdev.pro
	-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.
4) dbcheck.cpp
	-Fixes a bug with the dvb_sats generation. New version 1023.
5) dvbrecorder.cpp
	-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.
6) dvbrecorder.h
	-Proper map value to store PIDs.
7) dvbtypes.h
	-Added the proper buffer size for faster streams. The actual code is in dvbrecorder.cpp
8) dvbcam.h
	-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.

	Augusto

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvb_fixes.diff
Type: application/octet-stream
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 mailing list