Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
17d1f128
Commit
17d1f128
authored
Apr 17, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream: add STREAM_GET_META
parent
1ed365b8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
1 deletion
+5
-1
include/vlc_stream.h
include/vlc_stream.h
+1
-1
src/input/stream.c
src/input/stream.c
+2
-0
src/input/stream_demux.c
src/input/stream_demux.c
+1
-0
src/input/stream_memory.c
src/input/stream_memory.c
+1
-0
No files found.
include/vlc_stream.h
View file @
17d1f128
...
...
@@ -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 */
...
...
src/input/stream.c
View file @
17d1f128
...
...
@@ -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
);
...
...
src/input/stream_demux.c
View file @
17d1f128
...
...
@@ -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
:
...
...
src/input/stream_memory.c
View file @
17d1f128
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment