[vlc-devel] [RFC PATCH 4/7] libvlc_media_parse: parse any scope

Thomas Guillem thomas at gllm.fr
Wed Jan 7 12:06:39 CET 2015


---
 lib/media.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/media.c b/lib/media.c
index 9064d41..b88da58 100644
--- a/lib/media.c
+++ b/lib/media.c
@@ -666,8 +666,8 @@ static int media_parse(libvlc_media_t *media)
     input_item_t *item = media->p_input_item;
 
     /* TODO: Fetch art on need basis. But how not to break compatibility? */
-    libvlc_ArtRequest(libvlc, item, META_REQUEST_OPTION_NONE);
-    return libvlc_MetaRequest(libvlc, item, META_REQUEST_OPTION_NONE);
+    libvlc_ArtRequest(libvlc, item, META_REQUEST_OPTION_SCOPE_ANY);
+    return libvlc_MetaRequest(libvlc, item, META_REQUEST_OPTION_SCOPE_ANY);
 }
 
 /**************************************************************************
-- 
2.1.3




More information about the vlc-devel mailing list