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
5ef7a61e
Commit
5ef7a61e
authored
Jul 15, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MKV: support WebVTT subtitles embedded
parent
d6aa15e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
modules/demux/mkv/matroska_segment_parse.cpp
modules/demux/mkv/matroska_segment_parse.cpp
+5
-0
No files found.
modules/demux/mkv/matroska_segment_parse.cpp
View file @
5ef7a61e
...
...
@@ -1828,6 +1828,11 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
{
p_tk
->
fmt
.
i_codec
=
VLC_CODEC_BD_PG
;
}
else
if
(
!
strcmp
(
p_tk
->
psz_codec
,
"D_WEBVTT/SUBTITLES"
)
)
{
p_tk
->
fmt
.
i_codec
=
VLC_CODEC_SUBT
;
p_tk
->
fmt
.
subs
.
psz_encoding
=
strdup
(
"UTF-8"
);
}
else
if
(
!
strcmp
(
p_tk
->
psz_codec
,
"B_VOBBTN"
)
)
{
p_tk
->
fmt
.
i_cat
=
NAV_ES
;
...
...
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