[vlc-devel] [PATCH 1/6] input_item: add WITH_ASSOCIATED_MEDIA meta request

Alexandre Janniaux ajanni at videolabs.io
Tue Dec 3 17:02:22 CET 2019


This META_REQUEST_ parameter aims at enabling the parsing of
input_slaves and similar mechanisms whenever the main media is asked to
be parsed. It will be disabled in the default state, providing IO
savings for use case which doesn't need it.
---
 include/vlc_input_item.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/vlc_input_item.h b/include/vlc_input_item.h
index 1c99f6c012..da5c11b1c1 100644
--- a/include/vlc_input_item.h
+++ b/include/vlc_input_item.h
@@ -466,6 +466,7 @@ typedef enum input_item_meta_request_option_t
     META_REQUEST_OPTION_FETCH_NETWORK = 0x08,
     META_REQUEST_OPTION_FETCH_ANY     = 0x0C,
     META_REQUEST_OPTION_DO_INTERACT   = 0x10,
+    META_REQUEST_OPTION_WITH_ASSOCIATED_MEDIA = 0x20,
 } input_item_meta_request_option_t;
 
 /* status of the on_preparse_ended() callback */
-- 
2.24.0



More information about the vlc-devel mailing list