[vlc-devel] [PATCH 2/2] bluray: fix setting parent input
Petri Hintukainen
phintuka at users.sourceforge.net
Wed Feb 12 21:37:50 CET 2014
---
modules/access/bluray.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 8192789..a45049f 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -394,13 +394,13 @@ static int blurayOpen(vlc_object_t *object)
/* Registering overlay event handler */
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) {
- 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 */
if (disc_info->num_bdj_titles)
--
1.8.3.2
More information about the vlc-devel
mailing list