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
81ae0002
Commit
81ae0002
authored
Jan 19, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* transcode: keep the group information.
parent
e03531a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+5
-5
No files found.
modules/stream_out/transcode.c
View file @
81ae0002
...
...
@@ -2,7 +2,7 @@
* transcode.c
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: transcode.c,v 1.6
8 2004/01/17 12:11:58 gbazin
Exp $
* $Id: transcode.c,v 1.6
9 2004/01/19 14:40:25 fenrir
Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
...
...
@@ -373,8 +373,8 @@ static sout_stream_id_t * Add( sout_stream_t *p_stream, es_format_t *p_fmt )
memcpy
(
&
id
->
f_src
,
p_fmt
,
sizeof
(
es_format_t
)
);
/* create dst format */
id
->
f_dst
.
i_cat
=
AUDIO_ES
;
id
->
f_dst
.
i_
codec
=
p_sys
->
i_acodec
;
es_format_Init
(
&
id
->
f_dst
,
AUDIO_ES
,
p_sys
->
i_acodec
)
;
id
->
f_dst
.
i_
group
=
id
->
f_src
->
i_group
;
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
.
i_bitrate
=
p_sys
->
i_abitrate
>
0
?
p_sys
->
i_abitrate
:
64000
;
...
...
@@ -410,8 +410,8 @@ static sout_stream_id_t * Add( sout_stream_t *p_stream, es_format_t *p_fmt )
memcpy
(
&
id
->
f_src
,
p_fmt
,
sizeof
(
es_format_t
)
);
/* create dst format */
id
->
f_dst
.
i_cat
=
VIDEO_ES
;
id
->
f_dst
.
i_
codec
=
p_sys
->
i_vcodec
;
es_format_Init
(
&
id
->
f_dst
,
VIDEO_ES
,
p_sys
->
i_vcodec
)
;
id
->
f_dst
.
i_
group
=
id
->
f_src
->
i_group
;
id
->
f_dst
.
video
.
i_width
=
p_sys
->
i_width
;
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
;
...
...
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