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

MythTV noreply at mythtv.org
Fri Oct 18 14:06:23 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
----------------------------------------+----------------------------
Changes (by stichnot):

 * owner:   => stichnot
 * status:  new => accepted
 * milestone:  unknown => 0.27.1


Comment:

 This patch "fixes" playback for at least the first 3 samples (other 3 not
 yet tested):

 {{{
 diff --git a/mythtv/libs/libmythtv/avformatdecoder.cpp
 b/mythtv/libs/libmythtv/avformatdecoder.cpp
 index 3a42b40..1db6e68 100644
 --- a/mythtv/libs/libmythtv/avformatdecoder.cpp
 +++ b/mythtv/libs/libmythtv/avformatdecoder.cpp
 @@ -3281,7 +3281,7 @@ bool AvFormatDecoder::PreProcessVideoPacket(AVStream
 *curstream, AVPacket *pkt)
          }
      }

 -    if (framesRead == 0 && !justAfterChange &&
 +    if (false && framesRead == 0 && !justAfterChange &&
          !(pkt->flags & AV_PKT_FLAG_KEY))
      {
          av_free_packet(pkt);
 }}}

 This suggests a difference in the way our libmythtv/mpeg/H264Parser.cpp
 identifies keyframes, compared to the combination of
 libmythtv/avformatdecoder.cpp and
 external/FFmpeg/libavcodec/h264_parser.c.

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


More information about the mythtv-commits mailing list