id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,mlocked 1926,H.264 keyframe detection fixes,mark_kendall@…,Stuart Auchterlonie,"This patch fixes two issues with h.264 frame detection. Firstly, a state change and hence frame count increment would be triggered for each slice in a picture. Typically this meant the frame count running at 6x the actual frame count. I've tightened it up to ensure state changes are only triggered when needed. Secondly, the BBC H.264 trial broadcasts do not use IDR slice types - which the keyframe detection relies on. I've re-worked based on the assumption that only an access unit containing an IDR contains a sequence parameter set - this seems to tie up with the standard and works for the streams I have. I now get accurate position maps for the BBC trials (dvb-s and dvb-t) and in conjunction with ticket:1925 should fully enable these broadcasts in mythtv. Clearly I can't test this patch extensivley but it does also work for some h.264 transport streams I have from Germany (AnixeHD) and the US (KOAT 7?) passed in via the crcipnetworkrecorder.",patch,closed,minor,0.20,mythtv,head,medium,fixed,h264 hd,,0