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
6bc22466
Commit
6bc22466
authored
Apr 16, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input: small simplification
parent
fe0a075e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
src/input/stream.c
src/input/stream.c
+4
-9
No files found.
src/input/stream.c
View file @
6bc22466
...
...
@@ -548,7 +548,6 @@ static int AStreamControl( stream_t *s, int i_query, va_list args )
stream_sys_t
*
p_sys
=
s
->
p_sys
;
access_t
*
p_access
=
p_sys
->
p_access
;
bool
*
p_bool
;
uint64_t
*
pi_64
,
i_64
;
int
i_int
;
...
...
@@ -568,14 +567,10 @@ static int AStreamControl( stream_t *s, int i_query, va_list args )
break
;
case
STREAM_CAN_SEEK
:
p_bool
=
(
bool
*
)
va_arg
(
args
,
bool
*
);
access_Control
(
p_access
,
ACCESS_CAN_SEEK
,
p_bool
);
break
;
return
access_vaControl
(
p_access
,
ACCESS_CAN_SEEK
,
args
);
case
STREAM_CAN_FASTSEEK
:
p_bool
=
(
bool
*
)
va_arg
(
args
,
bool
*
);
access_Control
(
p_access
,
ACCESS_CAN_FASTSEEK
,
p_bool
);
break
;
return
access_vaControl
(
p_access
,
ACCESS_CAN_FASTSEEK
,
args
);
case
STREAM_GET_POSITION
:
pi_64
=
va_arg
(
args
,
uint64_t
*
);
...
...
@@ -619,8 +614,8 @@ static int AStreamControl( stream_t *s, int i_query, va_list args )
return
VLC_SUCCESS
;
case
STREAM_GET_CONTENT_TYPE
:
return
access_
Control
(
p_access
,
ACCESS_GET_CONTENT_TYPE
,
va_arg
(
args
,
char
**
)
);
return
access_
vaControl
(
p_access
,
ACCESS_GET_CONTENT_TYPE
,
args
);
case
STREAM_SET_RECORD_STATE
:
default:
msg_Err
(
s
,
"invalid stream_vaControl query=0x%x"
,
i_query
);
...
...
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