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
daf5ccc4
Commit
daf5ccc4
authored
Aug 25, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
access: implement STREAM_GET_PRIVATE_BLOCK
parent
d2e07d11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
src/input/access.c
src/input/access.c
+13
-0
No files found.
src/input/access.c
View file @
daf5ccc4
...
...
@@ -326,6 +326,19 @@ static int AStreamControl(stream_t *s, int cmd, va_list args)
return
vlc_access_Seek
(
sys
->
access
,
pos
);
}
case
STREAM_GET_PRIVATE_BLOCK
:
{
block_t
**
b
=
va_arg
(
args
,
block_t
**
);
bool
*
eof
=
va_arg
(
args
,
bool
*
);
if
(
access
->
pf_block
==
NULL
)
return
VLC_EGENERIC
;
*
b
=
vlc_access_Eof
(
access
)
?
NULL
:
vlc_access_Block
(
access
);
*
eof
=
(
*
b
==
NULL
)
&&
vlc_access_Eof
(
access
);
break
;
}
default:
return
VLC_EGENERIC
;
}
...
...
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