[mythtv-commits] Ticket #12709: Segmentation fault playing a recording with file missing

MythTV noreply at mythtv.org
Wed Apr 6 11:28:39 UTC 2016


#12709: Segmentation fault playing a recording with file missing
-----------------------------------------+-----------------------------
 Reporter:  Peter Bennett <pgbennett@…>  |          Owner:  jyavenard
     Type:  Bug Report - Crash           |         Status:  new
 Priority:  minor                        |      Milestone:  unknown
Component:  MythTV - Video Playback      |        Version:  Master Head
 Severity:  medium                       |     Resolution:
 Keywords:                               |  Ticket locked:  0
-----------------------------------------+-----------------------------

Comment (by rsiddons):

 The video player (mythfrontend::main::internal_play_media()) plays video
 from any source. For instance Gallery uses it for camera videos and
 !MythBrowser and !SetupWizard use it for downloaded videos. So it has to
 fail in a generic/independent way.

 "Try it and handle failure" is a more robust strategy than "Check first,
 do it and handle unexpected failure" (file disappears between check and
 play ?). It also avoids having to retrieve a remote file twice.

 Recordings are a special case. The UI does extra checks on recording files
 so that they can be marked as missing in the UI. Therefore, it won't even
 try to play a recording that it already knows is absent.

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


More information about the mythtv-commits mailing list