Commit 17d1f128 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

stream: add STREAM_GET_META

parent 1ed365b8
......@@ -110,7 +110,7 @@ enum stream_query_e
/* */
STREAM_GET_TITLE_INFO = 0x102, /**< arg1=input_title_t*** arg2=int* res=can fail */
STREAM_RESERVED_FOR_GET_META_DO_NOT_USE,
STREAM_GET_META, /**< arg1= vlc_meta_t ** res=can fail */
STREAM_GET_CONTENT_TYPE, /**< arg1= char ** res=can fail */
STREAM_SET_PAUSE_STATE = 0x200, /**< arg1= bool res=can fail */
......
......@@ -612,6 +612,8 @@ static int AStreamControl( stream_t *s, int i_query, va_list args )
case STREAM_GET_TITLE_INFO:
return access_vaControl( p_access, ACCESS_GET_TITLE_INFO, args );
case STREAM_GET_META:
return access_vaControl( p_access, ACCESS_GET_META, args );
case STREAM_GET_CONTENT_TYPE:
return access_vaControl( p_access, ACCESS_GET_CONTENT_TYPE, args );
......
......@@ -298,6 +298,7 @@ static int DStreamControl( stream_t *s, int i_query, va_list args )
case STREAM_CONTROL_ACCESS:
case STREAM_GET_TITLE_INFO:
case STREAM_GET_META:
case STREAM_GET_CONTENT_TYPE:
case STREAM_SET_PAUSE_STATE:
case STREAM_SET_TITLE:
......
......@@ -123,6 +123,7 @@ static int Control( stream_t *s, int i_query, va_list args )
break;
case STREAM_GET_TITLE_INFO:
case STREAM_GET_META:
case STREAM_GET_CONTENT_TYPE:
case STREAM_SET_TITLE:
case STREAM_SET_SEEKPOINT:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment