Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
689ac6f3
Commit
689ac6f3
authored
Dec 30, 2013
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: ogg: don't create es for finished streams.
Should prevent presenting skeleton in es
parent
723a1c36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/demux/ogg.c
modules/demux/ogg.c
+2
-1
No files found.
modules/demux/ogg.c
View file @
689ac6f3
...
...
@@ -596,6 +596,7 @@ static logical_stream_t * Ogg_GetSelectedStream( demux_t *p_demux )
for
(
int
i
=
0
;
i
<
p_sys
->
i_streams
;
i
++
)
{
logical_stream_t
*
p_candidate
=
p_sys
->
pp_stream
[
i
];
if
(
!
p_candidate
->
p_es
)
continue
;
bool
b_selected
=
false
;
es_out_Control
(
p_demux
->
out
,
ES_OUT_GET_ES_STATE
,
...
...
@@ -1821,7 +1822,7 @@ static void Ogg_CreateES( demux_t *p_demux )
{
logical_stream_t
*
p_stream
=
p_ogg
->
pp_stream
[
i_stream
];
if
(
p_stream
->
p_es
==
NULL
)
if
(
p_stream
->
p_es
==
NULL
&&
!
p_stream
->
b_finished
)
{
/* Better be safe than sorry when possible with ogm */
if
(
p_stream
->
fmt
.
i_codec
==
VLC_CODEC_MPGA
||
...
...
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