[vlc-devel] [PATCH 1/3] vlc_stream: add STREAM_GET_TAGS
Rémi Denis-Courmont
remi at remlab.net
Tue Jul 18 14:16:53 CEST 2017
On jeudi 13 juillet 2017 14:05:19 EEST Francois Cartegnie wrote:
> ---
> 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 */
It should probably be arg1=const uint8_t *const **
and arg2=const size_t **.
> 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:
--
Rémi Denis-Courmont
More information about the vlc-devel
mailing list