Commit 332f4b09 authored by Petri Hintukainen's avatar Petri Hintukainen Committed by Jean-Baptiste Kempf

bluray: fix setting parent input

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 56195089
...@@ -393,13 +393,13 @@ static int blurayOpen(vlc_object_t *object) ...@@ -393,13 +393,13 @@ static int blurayOpen(vlc_object_t *object)
/* Registering overlay event handler */ /* Registering overlay event handler */
bd_register_overlay_proc(p_sys->bluray, p_demux, blurayOverlayProc); bd_register_overlay_proc(p_sys->bluray, p_demux, blurayOverlayProc);
p_sys->p_input = demux_GetParentInput(p_demux);
if (unlikely(!p_sys->p_input)) {
msg_Err(p_demux, "Could not get parent input");
goto error;
}
if (p_sys->b_menu) { if (p_sys->b_menu) {
p_sys->p_input = demux_GetParentInput(p_demux);
if (unlikely(!p_sys->p_input)) {
msg_Err(p_demux, "Could not get parent input");
goto error;
}
/* Register ARGB overlay handler for BD-J */ /* Register ARGB overlay handler for BD-J */
if (disc_info->num_bdj_titles) if (disc_info->num_bdj_titles)
......
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