summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Guillem <thomas@gllm.fr>2016-03-25 09:05:40 +0100
committerJean-Philippe Andre <jp.andre@samsung.com>2016-03-28 16:40:02 +0900
commit3f1686d01e4f3a23c125afb4a9bb89106609c303 (patch)
tree0adc701619437926f82bd26f35952d4a89527600
parentb12c2a2cfd6850d695c76f96827e1e110be4038a (diff)
emotion/libvlc: fix url opening
-rw-r--r--src/modules/emotion/libvlc/emotion_libvlc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/emotion/libvlc/emotion_libvlc.c b/src/modules/emotion/libvlc/emotion_libvlc.c
index d9500cdfab..c550551a62 100644
--- a/src/modules/emotion/libvlc/emotion_libvlc.c
+++ b/src/modules/emotion/libvlc/emotion_libvlc.c
@@ -443,6 +443,11 @@ em_file_open(void *video,
443 443
444 /* Create libvlc_media */ 444 /* Create libvlc_media */
445 ev->m = libvlc_media_new_path(libvlc, file); 445 ev->m = libvlc_media_new_path(libvlc, file);
446 if (strstr(file, "://") == NULL)
447 ev->m = libvlc_media_new_path(libvlc, file);
448 else
449 ev->m = libvlc_media_new_location(libvlc, file);
450
446 EINA_SAFETY_ON_NULL_GOTO(ev->m, error); 451 EINA_SAFETY_ON_NULL_GOTO(ev->m, error);
447 452
448 if (ev->opt.no_audio || ev->audio_mute) 453 if (ev->opt.no_audio || ev->audio_mute)