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
5e36f2f8
Commit
5e36f2f8
authored
Apr 25, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/stream_out/transcode.c: make acodec/vcodec optional if aenc/venc is specified.
parent
08fefcb7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+3
-2
No files found.
modules/stream_out/transcode.c
View file @
5e36f2f8
...
@@ -459,7 +459,7 @@ static sout_stream_id_t * Add( sout_stream_t *p_stream, es_format_t *p_fmt )
...
@@ -459,7 +459,7 @@ static sout_stream_id_t * Add( sout_stream_t *p_stream, es_format_t *p_fmt )
id
->
id
=
NULL
;
id
->
id
=
NULL
;
id
->
p_encoder
=
NULL
;
id
->
p_encoder
=
NULL
;
if
(
p_fmt
->
i_cat
==
AUDIO_ES
&&
p_sys
->
i_acodec
!=
0
)
if
(
p_fmt
->
i_cat
==
AUDIO_ES
&&
(
p_sys
->
i_acodec
||
p_sys
->
psz_aenc
)
)
{
{
msg_Dbg
(
p_stream
,
msg_Dbg
(
p_stream
,
"creating audio transcoding from fcc=`%4.4s' to fcc=`%4.4s'"
,
"creating audio transcoding from fcc=`%4.4s' to fcc=`%4.4s'"
,
...
@@ -502,7 +502,8 @@ static sout_stream_id_t * Add( sout_stream_t *p_stream, es_format_t *p_fmt )
...
@@ -502,7 +502,8 @@ static sout_stream_id_t * Add( sout_stream_t *p_stream, es_format_t *p_fmt )
return
NULL
;
return
NULL
;
}
}
}
}
else
if
(
p_fmt
->
i_cat
==
VIDEO_ES
&&
p_sys
->
i_vcodec
!=
0
)
else
if
(
p_fmt
->
i_cat
==
VIDEO_ES
&&
(
p_sys
->
i_vcodec
!=
0
||
p_sys
->
psz_venc
)
)
{
{
msg_Dbg
(
p_stream
,
msg_Dbg
(
p_stream
,
"creating video transcoding from fcc=`%4.4s' to fcc=`%4.4s'"
,
"creating video transcoding from fcc=`%4.4s' to fcc=`%4.4s'"
,
...
...
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