[vlc-commits] core: libvlc_MetadataRequest: use vlc_MetadataRequest
Filip Roséen
git at videolan.org
Wed Jul 25 11:35:12 CEST 2018
vlc | branch: master | Filip Roséen <filip at atch.se> | Wed Jul 25 04:06:39 2018 +0200| [d2ab9d8342625579092c338a63b35aaefae59227] | committer: Thomas Guillem
core: libvlc_MetadataRequest: use vlc_MetadataRequest
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d2ab9d8342625579092c338a63b35aaefae59227
---
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);
}
/**
More information about the vlc-commits
mailing list