summaryrefslogtreecommitdiff
path: root/src/modules/emotion/libvlc/emotion_libvlc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/emotion/libvlc/emotion_libvlc.c')
-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)