Skip to content

Commit

Permalink
HD-PVR: Before starting to write into a "new file", what for a keyframe.
Browse files Browse the repository at this point in the history
Refs #6602


git-svn-id: http://svn.mythtv.org/svn/trunk@24144 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information
jpoet committed Apr 15, 2010
1 parent 100c4ba commit 002b9c2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mythtv/libs/libmythtv/mpegrecorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1397,6 +1397,12 @@ void MpegRecorder::ResetForNewFile(void)
bzero(_stream_id, sizeof(_stream_id));
bzero(_pid_status, sizeof(_pid_status));
memset(_continuity_counter, 0xff, sizeof(_continuity_counter));

if (driver == "hdpvr")
{
m_h264_parser.Reset();
_wait_for_keyframe_option = true;
}
}

void MpegRecorder::Reset(void)
Expand Down

0 comments on commit 002b9c2

Please sign in to comment.