[mythtv-commits] Ticket #4778: Too many PAT/PMTs at start of file
MythTV
mythtv at cvs.mythtv.org
Mon Feb 25 19:08:08 UTC 2008
#4778: Too many PAT/PMTs at start of file
------------------------------------------------+---------------------------
Reporter: Shane Shrybman <gnome42 at gmail.com> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: unknown
Severity: medium | Mlocked: 0
------------------------------------------------+---------------------------
[16135] Introduced BufferedWrite() in dvbrecorder.cpp which causes a bit
of a regression.
The new BufferedWrite() in dvbrecorder doesn't honour
_wait_for_keyframe_option or _first_keyframe < 0.
This can result in HandleSingleProgramPAT/PMT writing (or
buffering) too many PAT/PMTs to the file at recorder startup.
We only need one PAT and one PMT at the start of the
file, not KB's of them. :)
The attached patch addresses this by using DTVRecorder::BufferedWrite() in
DVBRecorder::HandleSingleProgramPAT/PMT.
This patch works for me but needs review and testing in
other scenarios.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4778>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list