Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
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
Steve Lhomme
VLC
Commits
1ee818f9
Commit
1ee818f9
authored
Dec 26, 2017
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
codec: ttml: no longer need to use resolution after rebase
parent
b73e9de8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
modules/codec/ttml/substtml.c
modules/codec/ttml/substtml.c
+1
-2
No files found.
modules/codec/ttml/substtml.c
View file @
1ee818f9
...
...
@@ -455,8 +455,7 @@ static void ComputeTTMLStyles( ttml_context_t *p_ctx, const vlc_dictionary_t *p_
p_text_style
->
f_font_relsize
=
100
.
0
*
len
.
i_value
/
(
p_ctx
->
i_cell_resolution_v
*
TTML_LINE_TO_HEIGHT_RATIO
);
else
if
(
len
.
unit
==
TTML_UNIT_PERCENT
)
p_text_style
->
f_font_relsize
=
len
.
i_value
/
(
p_ctx
->
i_cell_resolution_v
*
TTML_LINE_TO_HEIGHT_RATIO
);
p_text_style
->
f_font_relsize
=
len
.
i_value
;
else
if
(
len
.
unit
==
TTML_UNIT_PIXELS
)
p_text_style
->
i_font_size
=
len
.
i_value
;
}
...
...
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