diff -ruN mythtv-0.25.0~master.20120316.53761e2/mythtv/libs/libmythtv/firewirerecorder.cpp mythtv-0.25.0~master.20120316.53761e2-asp1/mythtv/libs/libmythtv/firewirerecorder.cpp
old
|
new
|
|
159 | 159 | // Pass or reject packets based on PID, and parse info from them |
160 | 160 | if (lpid == GetStreamData()->VideoPIDSingleProgram()) |
161 | 161 | { |
162 | | _buffer_packets = !FindMPEG2Keyframes(&tspacket); |
163 | | BufferedWrite(tspacket); |
| 162 | ProgramMapTable *pmt = _stream_data->PMTSingleProgram(); |
| 163 | uint video_stream_type = pmt->StreamType(pmt->FindPID(lpid)); |
| 164 | |
| 165 | if (video_stream_type == StreamID::H264Video) |
| 166 | _buffer_packets = !FindH264Keyframes(&tspacket); |
| 167 | else if (StreamID::IsVideo(video_stream_type)) |
| 168 | _buffer_packets = !FindMPEG2Keyframes(&tspacket); |
| 169 | |
| 170 | if ((video_stream_type != StreamID::H264Video) || _seen_sps) |
| 171 | BufferedWrite(tspacket); |
164 | 172 | } |
165 | 173 | else if (GetStreamData()->IsAudioPID(lpid)) |
166 | 174 | { |