[vlc-devel] [PATCH 2/3] core: libvlc_MetadataRequest: use vlc_MetadataRequest

Filip Roséen filip at atch.se
Wed Jul 25 04:06:39 CEST 2018


---
 src/libvlc.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index 67ff530b8e..1f4fed6107 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -507,11 +507,9 @@ int libvlc_MetadataRequest(libvlc_int_t *libvlc, input_item_t *item,
     vlc_mutex_lock( &item->lock );
     if( item->i_preparse_depth == 0 )
         item->i_preparse_depth = 1;
-    if( i_options & META_REQUEST_OPTION_DO_INTERACT )
-        item->b_preparse_interact = true;
     vlc_mutex_unlock( &item->lock );
-    input_preparser_Push( priv->parser, item, i_options, timeout, id );
-    return VLC_SUCCESS;
+
+    return vlc_MetadataRequest(libvlc, item, i_options, timeout, id);
 }
 
 /**
-- 
2.18.0


More information about the vlc-devel mailing list