[vlc-devel] [PATCH 1/3] vlc_stream: add STREAM_GET_TAGS
Francois Cartegnie
fcvlcdev at free.fr
Thu Jul 13 14:05:19 CEST 2017
---
include/vlc_stream.h | 1 +
modules/stream_filter/cache_block.c | 1 +
modules/stream_filter/cache_read.c | 1 +
3 files changed, 3 insertions(+)
diff --git a/include/vlc_stream.h b/include/vlc_stream.h
index 182b633..9b8bb85 100644
--- a/include/vlc_stream.h
+++ b/include/vlc_stream.h
@@ -153,6 +153,7 @@ enum stream_query_e
STREAM_GET_META, /**< arg1= vlc_meta_t * res=can fail */
STREAM_GET_CONTENT_TYPE, /**< arg1= char ** res=can fail */
STREAM_GET_SIGNAL, /**< arg1=double *pf_quality, arg2=double *pf_strength res=can fail */
+ STREAM_GET_TAGS, /**< arg1=const uint8_t*** arg2=int** arg3=int* res=can fail */
STREAM_SET_PAUSE_STATE = 0x200, /**< arg1= bool res=can fail */
STREAM_SET_TITLE, /**< arg1= int res=can fail */
diff --git a/modules/stream_filter/cache_block.c b/modules/stream_filter/cache_block.c
index fc1187e..85c1020 100644
--- a/modules/stream_filter/cache_block.c
+++ b/modules/stream_filter/cache_block.c
@@ -411,6 +411,7 @@ static int AStreamControl(stream_t *s, int i_query, va_list args)
case STREAM_GET_META:
case STREAM_GET_CONTENT_TYPE:
case STREAM_GET_SIGNAL:
+ case STREAM_GET_TAGS:
case STREAM_SET_PAUSE_STATE:
case STREAM_SET_PRIVATE_ID_STATE:
case STREAM_SET_PRIVATE_ID_CA:
diff --git a/modules/stream_filter/cache_read.c b/modules/stream_filter/cache_read.c
index d9c33b5..ed96776 100644
--- a/modules/stream_filter/cache_read.c
+++ b/modules/stream_filter/cache_read.c
@@ -465,6 +465,7 @@ static int AStreamControl(stream_t *s, int i_query, va_list args)
case STREAM_GET_META:
case STREAM_GET_CONTENT_TYPE:
case STREAM_GET_SIGNAL:
+ case STREAM_GET_TAGS:
case STREAM_SET_PAUSE_STATE:
case STREAM_SET_PRIVATE_ID_STATE:
case STREAM_SET_PRIVATE_ID_CA:
--
2.9.4
More information about the vlc-devel
mailing list