Ticket #1925: dvb-h264.diff
File dvb-h264.diff, 961 bytes (added by , 18 years ago) |
---|
-
mythtv/libs/libmythtv/dvbrecorder.cpp
923 923 info = _pid_infos[pid] = new PIDInfo(); 924 924 925 925 // Check for keyframes and count frames 926 if (StreamID::IsVideo(info->streamType)) 926 if (info->streamType == StreamID::H264Video) 927 _buffer_packets = !FindH264Keyframes(&tspacket); 928 else if (info->streamType ==StreamID::MPEG2Video) 927 929 _buffer_packets = !FindMPEG2Keyframes(&tspacket); 928 930 929 931 // Sync recording start to first keyframe … … 950 952 info->payloadStartSeen = true; 951 953 } 952 954 953 BufferedWrite(tspacket); 955 if ((info->streamType != StreamID::H264Video) || _seen_sps) 956 BufferedWrite(tspacket); 954 957 } 955 958 else 956 959 VERBOSE(VB_IMPORTANT, LOC + QString("Unknown PID 0x%1")