Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
3104e5dc
Commit
3104e5dc
authored
Jan 31, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* es_out: Set Language.
parent
f73d3dd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
src/input/es_out.c
src/input/es_out.c
+7
-10
No files found.
src/input/es_out.c
View file @
3104e5dc
...
...
@@ -2,7 +2,7 @@
* es_out.c: Es Out handler for input.
*****************************************************************************
* Copyright (C) 2003-2004 VideoLAN
* $Id: es_out.c,v 1.2
3 2004/01/30 17:49:21
fenrir Exp $
* $Id: es_out.c,v 1.2
4 2004/01/31 20:02:26
fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -328,7 +328,6 @@ static es_out_id_t *EsOutAdd( es_out_t *out, es_format_t *fmt )
psz_description
,
0
);
es
->
p_es
->
i_stream_id
=
fmt
->
i_id
;
es
->
p_es
->
i_fourcc
=
fmt
->
i_codec
;
free
(
psz_description
);
switch
(
fmt
->
i_cat
)
{
...
...
@@ -436,14 +435,6 @@ static es_out_id_t *EsOutAdd( es_out_t *out, es_format_t *fmt )
playlist_AddInfo
(
p_playlist
,
-
1
,
psz_cat
,
_
(
"Channels"
),
"%d"
,
fmt
->
audio
.
i_channels
);
}
if
(
fmt
->
psz_language
)
{
input_AddInfo
(
p_cat
,
_
(
"Language"
),
"%s"
,
fmt
->
psz_language
);
playlist_AddInfo
(
p_playlist
,
-
1
,
psz_cat
,
_
(
"Language"
),
"%s"
,
fmt
->
psz_language
);
}
if
(
fmt
->
audio
.
i_rate
>
0
)
{
input_AddInfo
(
p_cat
,
_
(
"Sample rate"
),
_
(
"%d Hz"
),
...
...
@@ -524,6 +515,12 @@ static es_out_id_t *EsOutAdd( es_out_t *out, es_format_t *fmt )
}
if
(
p_playlist
)
vlc_object_release
(
p_playlist
);
}
if
(
*
psz_description
)
{
input_AddInfo
(
p_cat
,
_
(
"Language"
),
psz_description
);
playlist_AddInfo
(
p_playlist
,
-
1
,
psz_cat
,
_
(
"Language"
),
"%s"
,
psz_description
);
}
free
(
psz_description
);
es_format_Copy
(
&
es
->
p_es
->
fmt
,
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