Commit e0bd1e86 authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Baptiste Kempf

bluray: Don't fail silently.

(cherry picked from commit db56ab24bcd6319316fc1d0308ed28b66a8d5477)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 26f630e1
...@@ -262,8 +262,10 @@ static int blurayOpen( vlc_object_t *object ) ...@@ -262,8 +262,10 @@ static int blurayOpen( vlc_object_t *object )
p_sys->b_menu = var_InheritBool(p_demux, "bluray-menu"); p_sys->b_menu = var_InheritBool(p_demux, "bluray-menu");
if (p_sys->b_menu) { if (p_sys->b_menu) {
p_sys->p_input = demux_GetParentInput(p_demux); p_sys->p_input = demux_GetParentInput(p_demux);
if (unlikely(!p_sys->p_input)) if (unlikely(!p_sys->p_input)) {
error_msg = "Could not get parent input";
goto error; goto error;
}
/* libbluray will start playback from "First-Title" title */ /* libbluray will start playback from "First-Title" title */
if (bd_play(p_sys->bluray) == 0) { if (bd_play(p_sys->bluray) == 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment