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
636c11b6
Commit
636c11b6
authored
Jul 23, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream: remove unused STREAM_UPDATE_SIZE control
parent
64aaa8ee
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
20 deletions
+0
-20
include/vlc_stream.h
include/vlc_stream.h
+0
-4
modules/access/archive/stream.c
modules/access/archive/stream.c
+0
-1
modules/access/zip/zipstream.c
modules/access/zip/zipstream.c
+0
-1
src/input/stream_access.c
src/input/stream_access.c
+0
-14
No files found.
include/vlc_stream.h
View file @
636c11b6
...
...
@@ -91,10 +91,6 @@ enum stream_query_e
STREAM_GET_SIZE
,
/**< arg1= uint64_t * res=cannot fail (0 if no sense)*/
/* You should update size of source if any and then update size
* FIXME find a way to avoid it */
STREAM_UPDATE_SIZE
,
/* */
STREAM_GET_PTS_DELAY
=
0x101
,
/**< arg1= int64_t* res=cannot fail */
STREAM_GET_TITLE_INFO
,
/**< arg1=input_title_t*** arg2=int* res=can fail */
...
...
modules/access/archive/stream.c
View file @
636c11b6
...
...
@@ -56,7 +56,6 @@ static int Control(stream_t *p_stream, int i_query, va_list args)
case
STREAM_GET_SIZE
:
case
STREAM_GET_POSITION
:
case
STREAM_SET_POSITION
:
case
STREAM_UPDATE_SIZE
:
case
STREAM_SET_RECORD_STATE
:
case
STREAM_GET_CONTENT_TYPE
:
return
VLC_EGENERIC
;
...
...
modules/access/zip/zipstream.c
View file @
636c11b6
...
...
@@ -302,7 +302,6 @@ static int Control( stream_t *s, int i_query, va_list args )
case
STREAM_GET_CONTENT_TYPE
:
return
VLC_EGENERIC
;
case
STREAM_UPDATE_SIZE
:
case
STREAM_CAN_SEEK
:
case
STREAM_CAN_FASTSEEK
:
case
STREAM_SET_RECORD_STATE
:
...
...
src/input/stream_access.c
View file @
636c11b6
...
...
@@ -374,16 +374,6 @@ static void AStreamControlReset( stream_t *s )
}
}
/****************************************************************************
* AStreamControlUpdate:
****************************************************************************/
static
void
AStreamControlUpdate
(
stream_t
*
s
)
{
stream_sys_t
*
p_sys
=
s
->
p_sys
;
p_sys
->
i_pos
=
p_sys
->
p_access
->
info
.
i_pos
;
}
#define static_control_match(foo) \
static_assert((unsigned) STREAM_##foo == ACCESS_##foo, "Mismatch")
...
...
@@ -458,10 +448,6 @@ static int AStreamControl( stream_t *s, int i_query, va_list args )
}
}
case
STREAM_UPDATE_SIZE
:
AStreamControlUpdate
(
s
);
return
VLC_SUCCESS
;
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