[mythtv] AC3 DVB Patch 3 - transform fix

Mark Anderson markjanderson at mail.com
Tue Jan 25 20:14:34 EST 2005


Problem addressed by this patch:

There are two related problems in transform.c preventing DVB AC3 audio from 
working:

1. The private stream header length was not being set, resulting in mpeg.c not 
extracting the AC3 payload correctly. 
2. There is a call to "get_ac3info" which was not always succeeding, I believe 
because only part of the ac3 payload was being searched. This resulted in the 
4 byte ac3 header not being reliably added to the mpeg stream. 


The fix:
1. Set the header length as needed.
2. Put a place holder 4 byte header into the stream and then rely on the code 
in send_ipack to put the correct values into the header. 

This patched should be reviewed by Marcus to be sure he agrees with the 
changes.

Regards,
Mark Anderson 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ac3-transform-fix.diff
Type: text/x-diff
Size: 1505 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050126/4ff73c6c/ac3-transform-fix.bin


More information about the mythtv-dev mailing list