Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
swl-x
MystiQ
Commits
20f11f61
Commit
20f11f61
authored
Jan 17, 2020
by
lfdominguez
Browse files
fix: Fixing subtitles burning
Signed-off-by:
Luis Felipe Dominguez Vega
<
ldominguezvega@gmail.com
>
parent
ab106b75
Changes
1
Hide whitespace changes
Inline
Side-by-side
converter/ffmpeginterface.cpp
View file @
20f11f61
...
...
@@ -407,15 +407,16 @@ QStringList FFmpegInterface::Private::getOptionList(const ConversionParameters &
if
(
subtitulo_srt
.
exists
())
{
command
=
QString
(
"
-vf
subtitles='%1':force_style='Fontsize=24':charenc=cp1256"
).
arg
(
subtitulosrt
);
command
=
QString
(
"subtitles='%1':force_style='Fontsize=24':charenc=cp1256"
).
arg
(
subtitulosrt
);
}
else
if
(
subtitulo_ssa
.
exists
())
{
command
=
QString
(
"
-vf
subtitles='%1':force_style='Fontsize=24':charenc=cp1256"
).
arg
(
subtitulossa
);
command
=
QString
(
"subtitles='%1':force_style='Fontsize=24':charenc=cp1256"
).
arg
(
subtitulossa
);
}
if
(
!
command
.
isEmpty
())
{
list
<<
QString
(
"-vf"
);
list
<<
command
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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