[mythtv-commits] Ticket #2077: transcoding fails with "Deadlock detected. One buffer is full when ..." for some DVB recordings

MythTV noreply at mythtv.org
Sat Aug 24 20:27:01 UTC 2013


#2077: transcoding fails with "Deadlock detected.  One buffer is full when ..."
for some DVB recordings
------------------------------------+-----------------------------
 Reporter:  seb                     |          Owner:  beirdo
     Type:  Bug Report - General    |         Status:  assigned
 Priority:  minor                   |      Milestone:  unknown
Component:  MythTV - Mythtranscode  |        Version:  Master Head
 Severity:  medium                  |     Resolution:
 Keywords:  mythtranscode           |  Ticket locked:  0
------------------------------------+-----------------------------

Comment (by billstuff2001@…):

 I found that in some cases index_vrbuf was overflowing before vrbuf, and
 this was causing the "Deadlock detected" failure. This patch increases the
 default INDEX_BUF size and lets more recordings succeed instead of
 failing.


 {{{
 --- mythbuild.orig/mythtv/programs/mythtranscode/mpeg2fix.cpp
 +++ mythbuild/mythtv/programs/mythtranscode/mpeg2fix.cpp
 @@ -590,7 +590,7 @@ void MPEG2replex::Start()  --- Hunk 1
 mythbuild/mythtv/programs/mythtranscode/mpeg2fix.cpp
      }
  }

 -#define INDEX_BUF (sizeof(index_unit) * 200)
 +#define INDEX_BUF (sizeof(index_unit) * 2000)
  void MPEG2fixup::InitReplex()
  {
      // index_vrbuf contains index_units which describe a video frame

 }}}

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


More information about the mythtv-commits mailing list