mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/mux: be less strict with bitstream filter failures
This makes the autobsf feature behave the same as the manual bitstream filtering in ffmpeg.c Fixes ticket #6794 Reviewed-by: rcombs Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
502050cb4c
commit
e70cdf91a7
@ -876,7 +876,9 @@ static int do_packet_auto_bsf(AVFormatContext *s, AVPacket *pkt) {
|
||||
av_log(ctx, AV_LOG_ERROR,
|
||||
"Failed to send packet to filter %s for stream %d\n",
|
||||
ctx->filter->name, pkt->stream_index);
|
||||
return ret;
|
||||
if (s->error_recognition & AV_EF_EXPLODE)
|
||||
return ret;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user