Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
3d94da0d
Commit
3d94da0d
authored
May 16, 2015
by
Rémi Denis-Courmont
Browse files
mkv: remove incorrect use of N_()
parent
dce178aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/demux/mkv/chapter_command.cpp
View file @
3d94da0d
...
...
@@ -133,28 +133,28 @@ std::string dvd_chapter_codec_c::GetCodecName( bool f_for_title ) const
uint16_t i_title = (p_data[1] << 8) + p_data[2];
char psz_str[11];
sprintf( psz_str, " %d ---", i_title );
result =
N_(
"--- DVD Title"
)
;
result = "--- DVD Title";
result += psz_str;
}
else */
if
(
p_data
[
0
]
==
MATROSKA_DVD_LEVEL_LU
)
{
char
psz_str
[
11
];
sprintf
(
psz_str
,
" (%c%c) ---"
,
p_data
[
1
],
p_data
[
2
]
);
result
=
N_
(
"--- DVD Menu"
)
;
result
=
"--- DVD Menu"
;
result
+=
psz_str
;
}
else
if
(
p_data
[
0
]
==
MATROSKA_DVD_LEVEL_SS
&&
f_for_title
)
{
if
(
p_data
[
1
]
==
0x00
)
result
=
N_
(
"First Played"
)
;
result
=
"First Played"
;
else
if
(
p_data
[
1
]
==
0xC0
)
result
=
N_
(
"Video Manager"
)
;
result
=
"Video Manager"
;
else
if
(
p_data
[
1
]
==
0x80
)
{
uint16_t
i_title
=
(
p_data
[
2
]
<<
8
)
+
p_data
[
3
];
char
psz_str
[
20
];
sprintf
(
psz_str
,
" %d -----"
,
i_title
);
result
=
N_
(
"----- Title"
)
;
result
=
"----- Title"
;
result
+=
psz_str
;
}
}
...
...
modules/demux/mkv/demux.cpp
View file @
3d94da0d
...
...
@@ -705,7 +705,7 @@ bool demux_sys_t::PreloadLinked()
}
if
(
!
p_title
->
psz_name
&&
asprintf
(
&
(
p_title
->
psz_name
),
"%s %d"
,
N_
(
"Segment"
)
,
(
int
)
ij
)
==
-
1
)
asprintf
(
&
(
p_title
->
psz_name
),
"%s %d"
,
"Segment"
,
(
int
)
ij
)
==
-
1
)
p_title
->
psz_name
=
NULL
;
}
}
...
...
Write
Preview
Supports
Markdown
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