Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
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
videolan
vlc
Commits
3d94da0d
Commit
3d94da0d
authored
May 16, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mkv: remove incorrect use of N_()
parent
dce178aa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
modules/demux/mkv/chapter_command.cpp
modules/demux/mkv/chapter_command.cpp
+5
-5
modules/demux/mkv/demux.cpp
modules/demux/mkv/demux.cpp
+1
-1
No files found.
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
...
@@ -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];
uint16_t i_title = (p_data[1] << 8) + p_data[2];
char psz_str[11];
char psz_str[11];
sprintf( psz_str, " %d ---", i_title );
sprintf( psz_str, " %d ---", i_title );
result =
N_("--- DVD Title")
;
result =
"--- DVD Title"
;
result += psz_str;
result += psz_str;
}
}
else */
if
(
p_data
[
0
]
==
MATROSKA_DVD_LEVEL_LU
)
else */
if
(
p_data
[
0
]
==
MATROSKA_DVD_LEVEL_LU
)
{
{
char
psz_str
[
11
];
char
psz_str
[
11
];
sprintf
(
psz_str
,
" (%c%c) ---"
,
p_data
[
1
],
p_data
[
2
]
);
sprintf
(
psz_str
,
" (%c%c) ---"
,
p_data
[
1
],
p_data
[
2
]
);
result
=
N_
(
"--- DVD Menu"
)
;
result
=
"--- DVD Menu"
;
result
+=
psz_str
;
result
+=
psz_str
;
}
}
else
if
(
p_data
[
0
]
==
MATROSKA_DVD_LEVEL_SS
&&
f_for_title
)
else
if
(
p_data
[
0
]
==
MATROSKA_DVD_LEVEL_SS
&&
f_for_title
)
{
{
if
(
p_data
[
1
]
==
0x00
)
if
(
p_data
[
1
]
==
0x00
)
result
=
N_
(
"First Played"
)
;
result
=
"First Played"
;
else
if
(
p_data
[
1
]
==
0xC0
)
else
if
(
p_data
[
1
]
==
0xC0
)
result
=
N_
(
"Video Manager"
)
;
result
=
"Video Manager"
;
else
if
(
p_data
[
1
]
==
0x80
)
else
if
(
p_data
[
1
]
==
0x80
)
{
{
uint16_t
i_title
=
(
p_data
[
2
]
<<
8
)
+
p_data
[
3
];
uint16_t
i_title
=
(
p_data
[
2
]
<<
8
)
+
p_data
[
3
];
char
psz_str
[
20
];
char
psz_str
[
20
];
sprintf
(
psz_str
,
" %d -----"
,
i_title
);
sprintf
(
psz_str
,
" %d -----"
,
i_title
);
result
=
N_
(
"----- Title"
)
;
result
=
"----- Title"
;
result
+=
psz_str
;
result
+=
psz_str
;
}
}
}
}
...
...
modules/demux/mkv/demux.cpp
View file @
3d94da0d
...
@@ -705,7 +705,7 @@ bool demux_sys_t::PreloadLinked()
...
@@ -705,7 +705,7 @@ bool demux_sys_t::PreloadLinked()
}
}
if
(
!
p_title
->
psz_name
&&
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
;
p_title
->
psz_name
=
NULL
;
}
}
}
}
...
...
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