[mythtv-commits] Ticket #9587: [PATCH] libmythfreemheg: Catch exception for unrecognised content

MythTV noreply at mythtv.org
Wed Feb 16 11:25:17 UTC 2011


#9587: [PATCH] libmythfreemheg: Catch exception for unrecognised content
-------------------------------------------------+-------------------------
 Reporter:  Lawrence Rust <lvr@…>                |           Type:  Patch -
   Status:  new                                  |  Bug Fix
Milestone:  unknown                              |       Priority:  minor
  Version:  Trunk Head                           |      Component:  MythTV
 Keywords:  libmythfreemheg exception            |  - General
                                                 |       Severity:  medium
                                                 |  Ticket locked:  0
-------------------------------------------------+-------------------------
 If an MHEG stream contains unrecognized content (in this case on BBC1
 interactive 10-Feb-2011) then MHBitmap::ContentArrived calls MHERROR which
 in turn throws an exception looking for an external handler.  Since there
 is no exception handler, libc terminates mythfrontend.

 The attached patch catches the exception, ignores the error and continues
 with the remaining content.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9587>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list