diff options
| author | phintuka <phintuka> | 2011-10-18 11:36:55 +0000 |
|---|---|---|
| committer | phintuka <phintuka> | 2011-10-18 11:36:55 +0000 |
| commit | 7f7809d26d48873f2c77601f3219a4bb45e4c78c (patch) | |
| tree | e769813e4fe0f90dc968736ed495cd3df54609bd | |
| parent | b30c4636424ae4745b9378ddf18174751db52bc3 (diff) | |
| download | xineliboutput-7f7809d26d48873f2c77601f3219a4bb45e4c78c.tar.gz xineliboutput-7f7809d26d48873f2c77601f3219a4bb45e4c78c.tar.bz2 | |
Show message if mounting .iso image fails
| -rw-r--r-- | xine/BluRay/input_bluray.c | 7 |
1 files changed, 6 insertions, 1 deletions
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 */ |
