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
54dc1499
Commit
54dc1499
authored
May 24, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
transcode: If no module is explicitely selected, print that we are potentially using any module.
parent
f60fff1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+12
-8
No files found.
modules/stream_out/transcode.c
View file @
54dc1499
...
@@ -1401,8 +1401,9 @@ static int transcode_audio_new( sout_stream_t *p_stream,
...
@@ -1401,8 +1401,9 @@ static int transcode_audio_new( sout_stream_t *p_stream,
module_Need
(
id
->
p_encoder
,
"encoder"
,
p_sys
->
psz_aenc
,
true
);
module_Need
(
id
->
p_encoder
,
"encoder"
,
p_sys
->
psz_aenc
,
true
);
if
(
!
id
->
p_encoder
->
p_module
)
if
(
!
id
->
p_encoder
->
p_module
)
{
{
msg_Err
(
p_stream
,
"cannot find audio encoder (%s/%4.4s)"
,
msg_Err
(
p_stream
,
"cannot find audio encoder (module:%s fourcc:%4.4s)"
,
p_sys
->
psz_aenc
,
(
char
*
)
&
p_sys
->
i_acodec
);
p_sys
->
psz_aenc
?
p_sys
->
psz_aenc
:
"any"
,
(
char
*
)
&
p_sys
->
i_acodec
);
module_Unneed
(
id
->
p_decoder
,
id
->
p_decoder
->
p_module
);
module_Unneed
(
id
->
p_decoder
,
id
->
p_decoder
->
p_module
);
id
->
p_decoder
->
p_module
=
NULL
;
id
->
p_decoder
->
p_module
=
NULL
;
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
...
@@ -1496,8 +1497,9 @@ static int transcode_audio_new( sout_stream_t *p_stream,
...
@@ -1496,8 +1497,9 @@ static int transcode_audio_new( sout_stream_t *p_stream,
module_Need
(
id
->
p_encoder
,
"encoder"
,
p_sys
->
psz_aenc
,
true
);
module_Need
(
id
->
p_encoder
,
"encoder"
,
p_sys
->
psz_aenc
,
true
);
if
(
!
id
->
p_encoder
->
p_module
)
if
(
!
id
->
p_encoder
->
p_module
)
{
{
msg_Err
(
p_stream
,
"cannot find audio encoder (%s/%4.4s)"
,
msg_Err
(
p_stream
,
"cannot find audio encoder (module:%s fourcc:%4.4s)"
,
p_sys
->
psz_aenc
,
(
char
*
)
&
p_sys
->
i_acodec
);
p_sys
->
psz_aenc
?
p_sys
->
psz_aenc
:
"any"
,
(
char
*
)
&
p_sys
->
i_acodec
);
transcode_audio_close
(
id
);
transcode_audio_close
(
id
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
@@ -1837,8 +1839,9 @@ static int transcode_video_new( sout_stream_t *p_stream, sout_stream_id_t *id )
...
@@ -1837,8 +1839,9 @@ static int transcode_video_new( sout_stream_t *p_stream, sout_stream_id_t *id )
module_Need
(
id
->
p_encoder
,
"encoder"
,
p_sys
->
psz_venc
,
true
);
module_Need
(
id
->
p_encoder
,
"encoder"
,
p_sys
->
psz_venc
,
true
);
if
(
!
id
->
p_encoder
->
p_module
)
if
(
!
id
->
p_encoder
->
p_module
)
{
{
msg_Err
(
p_stream
,
"cannot find video encoder (%s/%4.4s)"
,
msg_Err
(
p_stream
,
"cannot find video encoder (module:%s fourcc:%4.4s)"
,
p_sys
->
psz_venc
,
(
char
*
)
&
p_sys
->
i_vcodec
);
p_sys
->
psz_venc
?
p_sys
->
psz_venc
:
"any"
,
(
char
*
)
&
p_sys
->
i_vcodec
);
module_Unneed
(
id
->
p_decoder
,
id
->
p_decoder
->
p_module
);
module_Unneed
(
id
->
p_decoder
,
id
->
p_decoder
->
p_module
);
id
->
p_decoder
->
p_module
=
0
;
id
->
p_decoder
->
p_module
=
0
;
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
...
@@ -2152,8 +2155,9 @@ static int transcode_video_encoder_open( sout_stream_t *p_stream,
...
@@ -2152,8 +2155,9 @@ static int transcode_video_encoder_open( sout_stream_t *p_stream,
module_Need
(
id
->
p_encoder
,
"encoder"
,
p_sys
->
psz_venc
,
true
);
module_Need
(
id
->
p_encoder
,
"encoder"
,
p_sys
->
psz_venc
,
true
);
if
(
!
id
->
p_encoder
->
p_module
)
if
(
!
id
->
p_encoder
->
p_module
)
{
{
msg_Err
(
p_stream
,
"cannot find video encoder (%s/%4.4s)"
,
msg_Err
(
p_stream
,
"cannot find video encoder (module:%s fourcc:%4.4s)"
,
p_sys
->
psz_venc
,
(
char
*
)
&
p_sys
->
i_vcodec
);
p_sys
->
psz_venc
?
p_sys
->
psz_venc
:
"any"
,
(
char
*
)
&
p_sys
->
i_vcodec
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
...
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