Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
f1add01d
Commit
f1add01d
authored
Jun 01, 2012
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: be more verbose when printing an error in transcode()
Helps debuggability.
parent
6a9854e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
ffmpeg.c
ffmpeg.c
+5
-3
No files found.
ffmpeg.c
View file @
f1add01d
...
...
@@ -3577,10 +3577,12 @@ static int transcode(void)
}
// fprintf(stderr,"read #%d.%d size=%d\n", ist->file_index, ist->st->index, pkt.size);
if
(
output_packet
(
ist
,
&
pkt
)
<
0
||
if
(
(
ret
=
output_packet
(
ist
,
&
pkt
)
)
<
0
||
((
ret
=
poll_filters
())
<
0
&&
ret
!=
AVERROR_EOF
))
{
av_log
(
NULL
,
AV_LOG_ERROR
,
"Error while decoding stream #%d:%d
\n
"
,
ist
->
file_index
,
ist
->
st
->
index
);
char
buf
[
128
];
av_strerror
(
ret
,
buf
,
sizeof
(
buf
));
av_log
(
NULL
,
AV_LOG_ERROR
,
"Error while decoding stream #%d:%d: %s
\n
"
,
ist
->
file_index
,
ist
->
st
->
index
,
buf
);
if
(
exit_on_error
)
exit_program
(
1
);
av_free_packet
(
&
pkt
);
...
...
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