[mythtv-commits] Ticket #11882: Attempt to play recording freezes frontend

MythTV noreply at mythtv.org
Mon Oct 28 00:28:09 UTC 2013


#11882: Attempt to play recording freezes frontend
----------------------------------------+----------------------------
 Reporter:  warpme@…                    |          Owner:  stichnot
     Type:  Bug Report - Hang/Deadlock  |         Status:  accepted
 Priority:  minor                       |      Milestone:  0.27.1
Component:  MythTV - Video Decoding     |        Version:  0.27-fixes
 Severity:  medium                      |     Resolution:
 Keywords:                              |  Ticket locked:  0
----------------------------------------+----------------------------

Comment (by blm-ubunet@…):

 Rewriting comment #11...

 In reply to the code fragment in comment #7:
 This code is possibly a better functional match to the original patch file
 ??
 {{{
 insert code from comment #11
 }}}

 The SPS NAL-type indicates keyframe but the opposite case is not implied
 in the H264 spec.

 The above comment #11 code fragment allows the code path to branch to
 "continue;" with condition seen_SPS()=false.
 The semaphore h264_parser->seen_SPS() is set (true) at the first & any SPS
 in the current stream.

 The code execution path as per comment #7 with the conditions of keyframe
 & no SPS seen results in (False && True = False) which incorrectly drops
 right thru'.

 The variable num_frames could be used to allow a maximum limit exit
 condition.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11882#comment:12>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list