[vlc-commits] vlc_stream: add STREAM_GET_TAGS

Francois Cartegnie git at videolan.org
Tue Jul 18 22:12:17 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Jul 10 18:50:24 2017 +0200| [0c6f872de871716f26d080990a7d38480404adfd] | committer: Francois Cartegnie

vlc_stream: add STREAM_GET_TAGS

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0c6f872de871716f26d080990a7d38480404adfd
---

 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 182b63392a..badee554dc 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 block_t ** 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 fc1187e467..85c10203e1 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 d9c33b5f15..ed96776076 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:



More information about the vlc-commits mailing list