Commit 5f401c33 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

bluray: Check for bd_play failures.

(cherry picked from commit 207e13c211c1af905bf567934457fd5c91031856)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 97c0d774
......@@ -266,8 +266,10 @@ static int blurayOpen( vlc_object_t *object )
goto error;
/* libbluray will start playback from "First-Title" title */
bd_play(p_sys->bluray);
if (bd_play(p_sys->bluray) == 0) {
error_msg = "Failed to start bluray playback. Please try without menu support.";
goto error;
}
/* Registering overlay event handler */
bd_register_overlay_proc(p_sys->bluray, p_demux, blurayOverlayProc);
} else {
......
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