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
7f18d174
Commit
7f18d174
authored
Jan 30, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* transcode: keep psz_language.
parent
c1f6ca1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+3
-1
No files found.
modules/stream_out/transcode.c
View file @
7f18d174
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* transcode.c: transcoding stream output module
* transcode.c: transcoding stream output module
*****************************************************************************
*****************************************************************************
* Copyright (C) 2003-2004 VideoLAN
* Copyright (C) 2003-2004 VideoLAN
* $Id: transcode.c,v 1.7
2 2004/01/25 14:34:25 gbazin
Exp $
* $Id: transcode.c,v 1.7
3 2004/01/30 17:51:02 fenrir
Exp $
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
* Gildas Bazin <gbazin@netcourrier.com>
...
@@ -376,6 +376,7 @@ static sout_stream_id_t * Add( sout_stream_t *p_stream, es_format_t *p_fmt )
...
@@ -376,6 +376,7 @@ static sout_stream_id_t * Add( sout_stream_t *p_stream, es_format_t *p_fmt )
es_format_Init
(
&
id
->
f_dst
,
AUDIO_ES
,
p_sys
->
i_acodec
);
es_format_Init
(
&
id
->
f_dst
,
AUDIO_ES
,
p_sys
->
i_acodec
);
id
->
f_dst
.
i_id
=
id
->
f_src
.
i_id
;
id
->
f_dst
.
i_id
=
id
->
f_src
.
i_id
;
id
->
f_dst
.
i_group
=
id
->
f_src
.
i_group
;
id
->
f_dst
.
i_group
=
id
->
f_src
.
i_group
;
if
(
id
->
f_src
.
psz_language
)
id
->
f_dst
.
psz_language
=
strdup
(
id
->
f_src
.
psz_language
);
id
->
f_dst
.
audio
.
i_rate
=
p_sys
->
i_sample_rate
>
0
?
p_sys
->
i_sample_rate
:
id
->
f_src
.
audio
.
i_rate
;
id
->
f_dst
.
audio
.
i_rate
=
p_sys
->
i_sample_rate
>
0
?
p_sys
->
i_sample_rate
:
id
->
f_src
.
audio
.
i_rate
;
id
->
f_dst
.
audio
.
i_channels
=
p_sys
->
i_channels
>
0
?
p_sys
->
i_channels
:
id
->
f_src
.
audio
.
i_channels
;
id
->
f_dst
.
audio
.
i_channels
=
p_sys
->
i_channels
>
0
?
p_sys
->
i_channels
:
id
->
f_src
.
audio
.
i_channels
;
id
->
f_dst
.
i_bitrate
=
p_sys
->
i_abitrate
>
0
?
p_sys
->
i_abitrate
:
64000
;
id
->
f_dst
.
i_bitrate
=
p_sys
->
i_abitrate
>
0
?
p_sys
->
i_abitrate
:
64000
;
...
@@ -414,6 +415,7 @@ static sout_stream_id_t * Add( sout_stream_t *p_stream, es_format_t *p_fmt )
...
@@ -414,6 +415,7 @@ static sout_stream_id_t * Add( sout_stream_t *p_stream, es_format_t *p_fmt )
es_format_Init
(
&
id
->
f_dst
,
VIDEO_ES
,
p_sys
->
i_vcodec
);
es_format_Init
(
&
id
->
f_dst
,
VIDEO_ES
,
p_sys
->
i_vcodec
);
id
->
f_dst
.
i_id
=
id
->
f_src
.
i_id
;
id
->
f_dst
.
i_id
=
id
->
f_src
.
i_id
;
id
->
f_dst
.
i_group
=
id
->
f_src
.
i_group
;
id
->
f_dst
.
i_group
=
id
->
f_src
.
i_group
;
if
(
id
->
f_src
.
psz_language
)
id
->
f_dst
.
psz_language
=
strdup
(
id
->
f_src
.
psz_language
);
id
->
f_dst
.
video
.
i_width
=
p_sys
->
i_width
;
id
->
f_dst
.
video
.
i_width
=
p_sys
->
i_width
;
id
->
f_dst
.
video
.
i_height
=
p_sys
->
i_height
;
id
->
f_dst
.
video
.
i_height
=
p_sys
->
i_height
;
id
->
f_dst
.
i_bitrate
=
p_sys
->
i_vbitrate
>
0
?
p_sys
->
i_vbitrate
:
800
*
1000
;
id
->
f_dst
.
i_bitrate
=
p_sys
->
i_vbitrate
>
0
?
p_sys
->
i_vbitrate
:
800
*
1000
;
...
...
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