Ticket #3695: freebox.h264.2.patch
File freebox.h264.2.patch, 942 bytes (added by , 18 years ago) |
---|
-
libs/libmythtv/freeboxrecorder.cpp
218 218 // Pass or reject packets based on PID, and parse info from them 219 219 if (lpid == _stream_data->VideoPIDSingleProgram()) 220 220 { 221 ProgramMapTable *pmt = _stream_data->PMTSingleProgram(); 222 uint video_stream_type = pmt->StreamType(pmt->FindPID(lpid)); 223 224 if (video_stream_type == StreamID::H264Video) 225 _buffer_packets = !FindH264Keyframes(&tspacket); 226 else if (StreamID::IsVideo(video_stream_type)) 221 227 _buffer_packets = !FindMPEG2Keyframes(&tspacket); 228 229 if ((video_stream_type != StreamID::H264Video) || _seen_sps) 222 230 BufferedWrite(tspacket); 223 231 } 224 232 else if (_stream_data->IsAudioPID(lpid))