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
22c24d5a
Commit
22c24d5a
authored
Mar 13, 2012
by
Denis Charmet
Committed by
Jean-Baptiste Kempf
Mar 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MKV: Don't ignore user preferences for track selection
Fix #6375 Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
511519e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
modules/demux/mkv/matroska_segment.cpp
modules/demux/mkv/matroska_segment.cpp
+7
-3
No files found.
modules/demux/mkv/matroska_segment.cpp
View file @
22c24d5a
...
...
@@ -1362,11 +1362,15 @@ bool matroska_segment_c::Select( mtime_t i_start_time )
if
(
unlikely
(
!
p_tk
->
b_enabled
)
)
p_tk
->
fmt
.
i_priority
=
-
2
;
else
if
(
p_tk
->
b_forced
)
p_tk
->
fmt
.
i_priority
=
1
;
p_tk
->
fmt
.
i_priority
=
2
;
else
if
(
p_tk
->
b_default
)
p_tk
->
fmt
.
i_priority
=
0
;
p_tk
->
fmt
.
i_priority
=
1
;
else
p_tk
->
fmt
.
i_priority
=
-
1
;
p_tk
->
fmt
.
i_priority
=
0
;
/* Avoid multivideo tracks when unnecessary */
if
(
p_tk
->
fmt
.
i_cat
==
VIDEO_ES
)
p_tk
->
fmt
.
i_priority
--
;
p_tk
->
p_es
=
es_out_Add
(
sys
.
demuxer
.
out
,
&
p_tk
->
fmt
);
...
...
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