[mythtv-commits] Ticket #12709: Segmentation fault playing a recording with file missing
MythTV
noreply at mythtv.org
Thu Apr 7 00:57:04 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: 0.28
Component: MythTV - Video Playback | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
-----------------------------------------+-----------------------------
Changes (by knight):
* milestone: unknown => 0.28
Old description:
> Reported by Nocolas Riendeau
> This is caused by my fix for ticket #12691
> I will submit a patch shortly.
> Note that ticket #12693 is also a fix for the same area of code, so the
> patch I submit will be dependent on #12693.
New description:
Reported by Nicolas Riendeau, tracked down by Roger Siddons.
This is caused by my fix for ticket #12691
I will submit a patch shortly.
Note that ticket #12693 is also a fix for the same area of code, so the
patch I submit will be dependent on #12693.
--
Comment:
Replying to [comment:2 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:6>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list