Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
1b81f8c4
Commit
1b81f8c4
authored
Jul 06, 2017
by
Steve Lhomme
Committed by
Jean-Baptiste Kempf
Jul 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux:mp4: make sure we don't touch spu data on non SPU tracks
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
9bca6141
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
modules/demux/mp4/essetup.c
modules/demux/mp4/essetup.c
+1
-0
No files found.
modules/demux/mp4/essetup.c
View file @
1b81f8c4
...
...
@@ -1249,6 +1249,7 @@ int SetupSpuES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample )
p_style
->
i_features
|=
(
STYLE_HAS_BACKGROUND_ALPHA
|
STYLE_HAS_BACKGROUND_COLOR
);
}
}
assert
(
p_track
->
fmt
.
i_cat
==
SPU_ES
);
p_track
->
fmt
.
subs
.
p_style
=
p_style
;
/* FIXME UTF-8 doesn't work here ? */
...
...
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