Commit db56ab24 authored by Rafaël Carré's avatar Rafaël Carré Committed by Hugo Beauzée-Luyssen

bluray: Don't fail silently.

parent 12bb4f9d
......@@ -264,8 +264,10 @@ static int blurayOpen( vlc_object_t *object )
p_sys->b_menu = var_InheritBool(p_demux, "bluray-menu");
if (p_sys->b_menu) {
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;
}
/* libbluray will start playback from "First-Title" title */
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