Opened 9 years ago

Closed 8 years ago

#9587 closed Patch - Bug Fix (Fixed)

[PATCH] libmythfreemheg: Catch exception for unrecognised content

Reported by: Lawrence Rust <lvr@…> Owned by: stuartm
Priority: minor Milestone: 0.24.1
Component: MythTV - General Version: Master Head
Severity: medium Keywords: libmythfreemheg exception
Cc: Ticket locked: no

Description

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.

Attachments (1)

21-mheg.diff (1.3 KB) - added by Lawrence Rust <lvr@…> 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by Lawrence Rust <lvr@…>

Attachment: 21-mheg.diff added

comment:1 Changed 9 years ago by beirdo

Owner: set to stuartm
Status: newassigned

comment:2 Changed 8 years ago by markk

Milestone: unknown0.24.1
Resolution: Fixed
Status: assignedclosed

Applied to master in 79900aca5d81dd2ab1c3 Applied to fixes/0.24 in 7f15abd44c5f21c443a2

Note: See TracTickets for help on using tickets.