diff options
author | Fei Wang <fei.w.wang@intel.com> | 2021-12-15 16:06:37 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2022-01-07 14:05:58 +0800 |
commit | 7787cca18016c1f8100ab158f3479ba4b7e70467 (patch) | |
tree | 0ad37d0ccf2b4998a4a8d1b951daf70636ba86ac /libavcodec/av1dec.c | |
parent | 242ed971cb005157488b9a21942d9fb4be4d0347 (diff) | |
download | ffmpeg-7787cca18016c1f8100ab158f3479ba4b7e70467.tar.gz |
lavc/av1dec: use frame split bsf
Split packed data in case of its contains multiple show frame in some
non-standard bitstream. This can benefit decoder which can decode
continuously instead of interrupt with unexpected error.
Signed-off-by: Fei Wang <fei.w.wang@intel.com>
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'libavcodec/av1dec.c')
-rw-r--r-- | libavcodec/av1dec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c index db110c50c7..09df2bf421 100644 --- a/libavcodec/av1dec.c +++ b/libavcodec/av1dec.c @@ -1240,6 +1240,7 @@ const AVCodec ff_av1_decoder = { .flush = av1_decode_flush, .profiles = NULL_IF_CONFIG_SMALL(ff_av1_profiles), .priv_class = &av1_class, + .bsfs = "av1_frame_split", .hw_configs = (const AVCodecHWConfigInternal *const []) { #if CONFIG_AV1_DXVA2_HWACCEL HWACCEL_DXVA2(av1), |