[mythtv-commits] Ticket #565: Merging TS packets into PES packets
must account for the payload start offset
MythTV
mythtv at cvs.mythtv.org
Wed Nov 2 02:14:47 EST 2005
#565: Merging TS packets into PES packets must account for the payload start
offset
--------------------------------+-------------------------------------------
Reporter: redmundt at gmail.com | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone:
Component: mythtv | Version: head
Severity: medium | --------------------------------+-------------------------------------------
The attached patch starts the memory copy in AddTSPacket after the payload
start offset. Additionally we now track the pesdata size instead of the
number of TS packets. This allows us to start the memory copy in the
exact location when merging packets after a start offset has been
eliminated.
Overall effect: TS packets that contain PMT packets no longer get merged
with the extra offset byte. PMT entries that are split among TS entries
now have the audio and video pids properly parsed. This reduces (if not
eliminates) the partial locks I've received.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/565>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list