From 485e57349a7f0efec76ff7028929cc32f900f700 Mon Sep 17 00:00:00 2001
From: Gavin Hurlbut <gjhurlbu@gmail.com>
Date: Sat, 16 Oct 2010 22:21:04 -0700
Subject: [PATCH 2/2] Disable slice shortcut
diff --git a/mythtv/libs/libmythtv/dtvrecorder.cpp b/mythtv/libs/libmythtv/dtvrecorder.cpp
index a2d88e3..5936268 100644
|
a
|
b
|
void DTVRecorder::FindPSKeyFrames(const uint8_t *buffer, uint len) |
| 704 | 704 | const int stream_id = _start_code & 0x000000ff; |
| 705 | 705 | if (_video_bytes_remaining) |
| 706 | 706 | { |
| | 707 | #if 0 |
| 707 | 708 | if ((stream_id >= PESStreamID::SliceStartCodeBegin) && |
| 708 | 709 | (stream_id <= PESStreamID::SliceStartCodeEnd)) |
| 709 | 710 | { // pes_packet_length is meaningless |
| 710 | 711 | _other_bytes_remaining = |
| 711 | 712 | std::max(_other_bytes_remaining, _video_bytes_remaining); |
| 712 | 713 | } |
| | 714 | #endif |
| 713 | 715 | if (PESStreamID::PictureStartCode == stream_id) |
| 714 | 716 | { // pes_packet_length is meaningless |
| 715 | 717 | pes_packet_length = -1; |