From 7f7809d26d48873f2c77601f3219a4bb45e4c78c Mon Sep 17 00:00:00 2001 From: phintuka Date: Tue, 18 Oct 2011 11:36:55 +0000 Subject: Show message if mounting .iso image fails --- xine/BluRay/input_bluray.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/xine/BluRay/input_bluray.c b/xine/BluRay/input_bluray.c index 32cdeab6..022b35f7 100644 --- a/xine/BluRay/input_bluray.c +++ b/xine/BluRay/input_bluray.c @@ -1456,8 +1456,13 @@ static int bluray_plugin_open (input_plugin_t *this_gen) this->disc_root = strdup(this->class->mountpoint); /* mount .iso image */ - if (is_iso_image(this->disc_root) && !mount_iso_image(this)) + if (is_iso_image(this->disc_root) && !mount_iso_image(this)) { + _x_message (this->stream, XINE_MSG_GENERAL_WARNING, + "Can't play BluRay .iso image", + "Mounting of .iso image using loop device failed.\n" + "Not enough loop devices or insufficient permissions ?", NULL); return -1; + } /* open libbluray */ -- cgit v1.2.3