Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
4d7aa85f
Commit
4d7aa85f
authored
May 24, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
transcode: Put more details in error messages.
parent
6e708ae5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+9
-9
No files found.
modules/stream_out/transcode.c
View file @
4d7aa85f
...
...
@@ -1361,7 +1361,7 @@ static int transcode_audio_new( sout_stream_t *p_stream,
module_Need
(
id
->
p_decoder
,
"decoder"
,
"$codec"
,
0
);
if
(
!
id
->
p_decoder
->
p_module
)
{
msg_Err
(
p_stream
,
"cannot find decoder"
);
msg_Err
(
p_stream
,
"cannot find
audio
decoder"
);
return
VLC_EGENERIC
;
}
id
->
p_decoder
->
fmt_out
.
audio
.
i_bitspersample
=
...
...
@@ -1401,7 +1401,7 @@ static int transcode_audio_new( sout_stream_t *p_stream,
module_Need
(
id
->
p_encoder
,
"encoder"
,
p_sys
->
psz_aenc
,
true
);
if
(
!
id
->
p_encoder
->
p_module
)
{
msg_Err
(
p_stream
,
"cannot find encoder (%s)"
,
p_sys
->
psz_aenc
);
msg_Err
(
p_stream
,
"cannot find
audio
encoder (%s)"
,
p_sys
->
psz_aenc
);
module_Unneed
(
id
->
p_decoder
,
id
->
p_decoder
->
p_module
);
id
->
p_decoder
->
p_module
=
NULL
;
return
VLC_EGENERIC
;
...
...
@@ -1495,7 +1495,7 @@ static int transcode_audio_new( sout_stream_t *p_stream,
module_Need
(
id
->
p_encoder
,
"encoder"
,
p_sys
->
psz_aenc
,
true
);
if
(
!
id
->
p_encoder
->
p_module
)
{
msg_Err
(
p_stream
,
"cannot find encoder (%s)"
,
p_sys
->
psz_aenc
);
msg_Err
(
p_stream
,
"cannot find
audio
encoder (%s)"
,
p_sys
->
psz_aenc
);
transcode_audio_close
(
id
);
return
VLC_EGENERIC
;
}
...
...
@@ -1797,7 +1797,7 @@ static int transcode_video_new( sout_stream_t *p_stream, sout_stream_id_t *id )
if
(
!
id
->
p_decoder
->
p_module
)
{
msg_Err
(
p_stream
,
"cannot find decoder"
);
msg_Err
(
p_stream
,
"cannot find
video
decoder"
);
return
VLC_EGENERIC
;
}
...
...
@@ -1835,7 +1835,7 @@ 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
);
if
(
!
id
->
p_encoder
->
p_module
)
{
msg_Err
(
p_stream
,
"cannot find encoder (%s)"
,
p_sys
->
psz_venc
);
msg_Err
(
p_stream
,
"cannot find
video
encoder (%s)"
,
p_sys
->
psz_venc
);
module_Unneed
(
id
->
p_decoder
,
id
->
p_decoder
->
p_module
);
id
->
p_decoder
->
p_module
=
0
;
return
VLC_EGENERIC
;
...
...
@@ -2149,7 +2149,7 @@ static int transcode_video_encoder_open( sout_stream_t *p_stream,
module_Need
(
id
->
p_encoder
,
"encoder"
,
p_sys
->
psz_venc
,
true
);
if
(
!
id
->
p_encoder
->
p_module
)
{
msg_Err
(
p_stream
,
"cannot find encoder (%s)"
,
p_sys
->
psz_venc
);
msg_Err
(
p_stream
,
"cannot find
video
encoder (%s)"
,
p_sys
->
psz_venc
);
return
VLC_EGENERIC
;
}
...
...
@@ -2805,7 +2805,7 @@ static int transcode_spu_new( sout_stream_t *p_stream, sout_stream_id_t *id )
if
(
!
id
->
p_decoder
->
p_module
)
{
msg_Err
(
p_stream
,
"cannot find decoder"
);
msg_Err
(
p_stream
,
"cannot find
spu
decoder"
);
return
VLC_EGENERIC
;
}
...
...
@@ -2824,7 +2824,7 @@ static int transcode_spu_new( sout_stream_t *p_stream, sout_stream_id_t *id )
if
(
!
id
->
p_encoder
->
p_module
)
{
module_Unneed
(
id
->
p_decoder
,
id
->
p_decoder
->
p_module
);
msg_Err
(
p_stream
,
"cannot find encoder (%s)"
,
p_sys
->
psz_senc
);
msg_Err
(
p_stream
,
"cannot find
spu
encoder (%s)"
,
p_sys
->
psz_senc
);
return
VLC_EGENERIC
;
}
}
...
...
@@ -2932,7 +2932,7 @@ static int transcode_osd_new( sout_stream_t *p_stream, sout_stream_id_t *id )
if
(
!
id
->
p_encoder
->
p_module
)
{
msg_Err
(
p_stream
,
"cannot find encoder (%s)"
,
p_sys
->
psz_osdenc
);
msg_Err
(
p_stream
,
"cannot find
spu
encoder (%s)"
,
p_sys
->
psz_osdenc
);
goto
error
;
}
...
...
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