[mythtv-commits] Ticket #11435: recordedseek as recorded differs from mythcommflag
MythTV
noreply at mythtv.org
Wed Apr 17 11:40:33 UTC 2013
#11435: recordedseek as recorded differs from mythcommflag
----------------------------------+----------------------------
Reporter: blm-ubunet@… | Owner: jpoet
Type: Bug Report - General | Status: accepted
Priority: minor | Milestone: unknown
Component: MythTV - Recording | Version: 0.26-fixes
Severity: low | Resolution:
Keywords: H264 recordedseek | Ticket locked: 0
----------------------------------+----------------------------
Comment (by warpme@…):
It's obvious but FYI: I can rather confirm removing following hunk seems
to solve problem with MPEG2 recording. (it looks on logs it solves - as I
tested it only remotely via SSH and exterminating BE/FE logs :-p)
{{{
@@ -419,7 +418,11 @@ bool DTVRecorder::FindMPEG2Keyframes(const TSPacket*
tspacket)
// looking for first byte of MPEG start code (3 bytes 0 0 1)
// otherwise, pick up search where we left off.
const bool payloadStart = tspacket->PayloadStart();
- _start_code = (payloadStart) ? 0xffffffff : _start_code;
+ if (payloadStart)
+ {
+ _start_code = 0xffffffff;
+ _seen_sps = false;
+ }
// Just make these local for efficiency reasons (gcc not so smart..)
const uint maxKFD = kMaxKeyFrameDistance;
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11435#comment:30>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list