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
c355964d
Commit
c355964d
authored
Aug 31, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sdp: implement ACCESS_GET_SIZE
parent
367b9a8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/access/sdp.c
modules/access/sdp.c
+6
-0
No files found.
modules/access/sdp.c
View file @
c355964d
...
...
@@ -107,6 +107,8 @@ static int Seek (access_t *access, uint64_t position)
static
int
Control
(
access_t
*
access
,
int
query
,
va_list
args
)
{
access_sys_t
*
sys
=
access
->
p_sys
;
switch
(
query
)
{
case
ACCESS_CAN_SEEK
:
...
...
@@ -119,6 +121,10 @@ static int Control (access_t *access, int query, va_list args)
return
VLC_SUCCESS
;
}
case
ACCESS_GET_SIZE
:
*
va_arg
(
args
,
uint64_t
*
)
=
sys
->
length
;
return
VLC_SUCCESS
;
case
ACCESS_GET_PTS_DELAY
:
{
int64_t
*
dp
=
va_arg
(
args
,
int64_t
*
);
...
...
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