mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
fftools/ffmpeg_filter: don't forward EOF in close_output()
The caller does not need or expect it, and it can lead to terminating filtering prematurely in case there is more than one output.
This commit is contained in:
parent
ce178be8b0
commit
639208cc6a
@ -2199,7 +2199,8 @@ static int close_output(OutputFilterPriv *ofp, FilterGraphThread *fgt)
|
||||
|
||||
fgt->eof_out[ofp->index] = 1;
|
||||
|
||||
return sch_filter_send(fgp->sch, fgp->sch_idx, ofp->index, NULL);
|
||||
ret = sch_filter_send(fgp->sch, fgp->sch_idx, ofp->index, NULL);
|
||||
return (ret == AVERROR_EOF) ? 0 : ret;
|
||||
}
|
||||
|
||||
static int fg_output_frame(OutputFilterPriv *ofp, FilterGraphThread *fgt,
|
||||
|
Loading…
Reference in New Issue
Block a user