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
fb0add8f
Commit
fb0add8f
authored
Mar 21, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
es_out: use input_DecoderDrain()
parent
132f872d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
src/input/es_out.c
src/input/es_out.c
+2
-9
No files found.
src/input/es_out.c
View file @
fb0add8f
...
@@ -2684,15 +2684,8 @@ static int EsOutControlLocked( es_out_t *out, int i_query, va_list args )
...
@@ -2684,15 +2684,8 @@ static int EsOutControlLocked( es_out_t *out, int i_query, va_list args )
{
{
for
(
int
i
=
0
;
i
<
p_sys
->
i_es
;
i
++
)
{
for
(
int
i
=
0
;
i
<
p_sys
->
i_es
;
i
++
)
{
es_out_id_t
*
id
=
p_sys
->
es
[
i
];
es_out_id_t
*
id
=
p_sys
->
es
[
i
];
decoder_t
*
p_dec
=
id
->
p_dec
;
if
(
id
->
p_dec
!=
NULL
)
if
(
!
p_dec
)
input_DecoderDrain
(
id
->
p_dec
);
continue
;
block_t
*
p_block
=
block_Alloc
(
0
);
if
(
!
p_block
)
break
;
p_block
->
i_flags
|=
BLOCK_FLAG_CORE_EOS
;
input_DecoderDecode
(
p_dec
,
p_block
,
false
);
}
}
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
...
...
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