diff --git a/mythtv/libs/libmythtv/dtvrecorder.cpp b/mythtv/libs/libmythtv/dtvrecorder.cpp
index c87ed36..a006bfd 100644
|
a
|
b
|
bool DTVRecorder::FindMPEG2Keyframes(const TSPacket* tspacket)
|
| 521 | 521 | } |
| 522 | 522 | |
| 523 | 523 | // _buffer_packets will only be true if a payload start has been seen |
| 524 | | if (hasKeyFrame && _buffer_packets) |
| | 524 | if (hasKeyFrame && (_buffer_packets || _first_keyframe >= 0)) |
| 525 | 525 | { |
| 526 | 526 | LOG(VB_RECORD, LOG_DEBUG, LOC + QString |
| 527 | 527 | ("Keyframe @ %1 + %2 = %3") |
| … |
… |
bool DTVRecorder::FindH264Keyframes(const TSPacket *tspacket)
|
| 887 | 887 | } // for (; i < TSPacket::kSize; ++i) |
| 888 | 888 | |
| 889 | 889 | // _buffer_packets will only be true if a payload start has been seen |
| 890 | | if (hasKeyFrame && _buffer_packets) |
| | 890 | if (hasKeyFrame && (_buffer_packets || _first_keyframe >= 0)) |
| 891 | 891 | { |
| 892 | 892 | LOG(VB_RECORD, LOG_DEBUG, LOC + QString |
| 893 | 893 | ("Keyframe @ %1 + %2 = %3 AU %4") |