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
098dbe89
Commit
098dbe89
authored
Sep 27, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
String rationalization
parent
5cd368bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
src/input/es_out.c
src/input/es_out.c
+3
-7
No files found.
src/input/es_out.c
View file @
098dbe89
...
...
@@ -1584,12 +1584,6 @@ static int EsOutSend( es_out_t *out, es_out_id_t *es, block_t *p_block )
VLC_FOURCC
(
'c'
,
'c'
,
'3'
,
' '
),
VLC_FOURCC
(
'c'
,
'c'
,
'4'
,
' '
),
};
static
const
char
ppsz_description
[
4
][
18
]
=
{
N_
(
"Closed captions 1"
),
N_
(
"Closed captions 2"
),
N_
(
"Closed captions 3"
),
N_
(
"Closed captions 4"
),
};
es_format_t
fmt
;
if
(
es
->
pb_cc_present
[
i
]
||
!
pb_cc
[
i
]
)
...
...
@@ -1598,7 +1592,9 @@ static int EsOutSend( es_out_t *out, es_out_id_t *es, block_t *p_block )
es_format_Init
(
&
fmt
,
SPU_ES
,
fcc
[
i
]
);
fmt
.
i_group
=
es
->
fmt
.
i_group
;
fmt
.
psz_description
=
strdup
(
_
(
ppsz_description
[
i
]
)
);
if
(
asprintf
(
&
fmt
.
psz_description
,
_
(
"Closed captions %u"
),
1
+
i
)
==
-
1
)
fmt
.
psz_description
=
NULL
;
es
->
pp_cc_es
[
i
]
=
EsOutAdd
(
out
,
&
fmt
);
es
->
pp_cc_es
[
i
]
->
p_master
=
es
;
es_format_Clean
(
&
fmt
);
...
...
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