[vlc-commits] bluray: Don't fail silently.
Rafaël Carré
git at videolan.org
Sun Mar 11 16:00:45 CET 2012
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Mar 11 15:57:31 2012 +0100| [db56ab24bcd6319316fc1d0308ed28b66a8d5477] | committer: Hugo Beauzée-Luyssen
bluray: Don't fail silently.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=db56ab24bcd6319316fc1d0308ed28b66a8d5477
---
modules/access/bluray.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 31f3fe4..7cc7387 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -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) {
More information about the vlc-commits
mailing list