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/mythtv/libs/libmythtv/dtvrecorder.cpp
+++ b/mythtv/libs/libmythtv/dtvrecorder.cpp
@@ -704,12 +704,14 @@ void DTVRecorder::FindPSKeyFrames(const uint8_t *buffer, uint len)
         const int stream_id = _start_code & 0x000000ff;
         if (_video_bytes_remaining)
         {
+#if 0
             if ((stream_id >= PESStreamID::SliceStartCodeBegin) &&
                 (stream_id <= PESStreamID::SliceStartCodeEnd))
             { // pes_packet_length is meaningless
                 _other_bytes_remaining =
                     std::max(_other_bytes_remaining, _video_bytes_remaining);
             }
+#endif
             if (PESStreamID::PictureStartCode == stream_id)
             { // pes_packet_length is meaningless
                 pes_packet_length = -1;
-- 
1.7.0.4

