mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avconv: propagate fatal errors from lavfi.
This commit is contained in:
parent
cd99146253
commit
8a645bfc31
4
avconv.c
4
avconv.c
@ -1556,8 +1556,10 @@ static int poll_filters(void)
|
||||
else
|
||||
ret = av_buffersink_read(ost->filter->filter, &picref);
|
||||
|
||||
if (ret < 0)
|
||||
if (ret == AVERROR_EOF || ret == AVERROR(EAGAIN))
|
||||
break;
|
||||
else if (ret < 0)
|
||||
return ret;
|
||||
|
||||
avfilter_copy_buf_props(filtered_frame, picref);
|
||||
if (picref->pts != AV_NOPTS_VALUE) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user