mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-20 18:27:13 +02:00
stream: add STREAM_GET_META
This commit is contained in:
parent
1ed365b843
commit
17d1f128e7
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user