mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-17 17:24:54 +00:00
Compilation fixes for MSVC. Patch by Steve Lhomme <steve ! lhomme () free ! fr>
This commit is contained in:
parent
578fec2546
commit
d086bf4325
@ -182,6 +182,12 @@
|
||||
<File
|
||||
RelativePath=".\src\common\xml_element_parser.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\src\common\xml_element_writer.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\src\common\xml_element_writer.h">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
|
@ -692,6 +692,11 @@ handle_data(KaxBlock *block,
|
||||
ssa_line_c ssa_line;
|
||||
rmff_frame_t *rmf_frame;
|
||||
|
||||
static const char *kax_ssa_fields[10] = {
|
||||
"readorder", "layer", "style", "name", "marginl", "marginr",
|
||||
"marginv", "effect", "text", NULL
|
||||
};
|
||||
|
||||
track = find_track(block->TrackNum());
|
||||
if ((track == NULL) || !track->in_use){
|
||||
delete block;
|
||||
@ -789,11 +794,6 @@ handle_data(KaxBlock *block,
|
||||
break;
|
||||
|
||||
case FILE_TYPE_SSA:
|
||||
static const char *kax_ssa_fields[10] = {
|
||||
"readorder", "layer", "style", "name", "marginl", "marginr",
|
||||
"marginv", "effect", "text", NULL
|
||||
};
|
||||
|
||||
if ((end == start) && !track->warning_printed) {
|
||||
mxwarn(_("Subtitle track %lld is missing some duration elements. "
|
||||
"Please check the resulting SSA/ASS file for entries that "
|
||||
|
Loading…
Reference in New Issue
Block a user