diff options
author | Fei Wang <fei.w.wang@intel.com> | 2021-12-15 16:06:37 +0800 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-01-08 11:09:17 -0300 |
commit | 9b099a97f0b730f3b253caf8c58d80177e155e88 (patch) | |
tree | ea49d7efbce0b6ecdfc9b7b6f5f6d188185769b2 | |
parent | 6ff38630e1d756fe3ed73552c5265445c9f805ff (diff) | |
download | ffmpeg-9b099a97f0b730f3b253caf8c58d80177e155e88.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>
(cherry picked from commit 7787cca18016c1f8100ab158f3479ba4b7e70467)
-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), |