[mythtv-commits] mythtv commit: r7902 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Nov 16 22:53:12 EST 2005


      Author: danielk
        Date: 2005-11-17 03:53:11 +0000 (Thu, 17 Nov 2005)
New Revision: 7902
   Changeset: http://cvs.mythtv.org/trac/changeset/7902

Modified:

   trunk/mythtv/libs/libmythtv/dbox2recorder.cpp
   trunk/mythtv/libs/libmythtv/dbox2recorder.h
   trunk/mythtv/libs/libmythtv/dtvrecorder.cpp
   trunk/mythtv/libs/libmythtv/dtvrecorder.h
   trunk/mythtv/libs/libmythtv/dvbrecorder.cpp
   trunk/mythtv/libs/libmythtv/dvbrecorder.h
   trunk/mythtv/libs/libmythtv/firewirerecorder.cpp
   trunk/mythtv/libs/libmythtv/firewirerecorder.h
   trunk/mythtv/libs/libmythtv/hdtvrecorder.cpp
   trunk/mythtv/libs/libmythtv/hdtvrecorder.h

Log:

Closes #659.

This queues up TS packet after a payload start until either
a keyframe stream id is found, or the 10 packets following
the payload start have been processed without finding it. If we
do find a a keyframe stream id the keyframe is marked at the
payload start packet's location.

Before this commit the TS packet where the keyframe stream id
was found was considered the location of the keyframe, but you
need a packet with the payload start flag to begin constructing
the PES packet on playback; so this would mess up seek map and
would mess up ringbuffer switching in LiveTV. Most broadcasters
keep SEQ & GOP headers in the first TS packet, not doing so 
breaks compliance with hardware MPEG multiplexors. However,
there is at least one broadcaster in Chicago who transmits such
streams, hence the this change.






More information about the mythtv-commits mailing list