[FFmpeg-cvslog] avcodec/libaomdec: auto insert dump_extra bitstream filter
James Almer
git at videolan.org
Thu Aug 2 21:02:42 EEST 2018
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Mon Jul 23 12:32:47 2018 -0300| [e45ed15594a2553056a577177591fbe55694af44] | committer: James Almer
avcodec/libaomdec: auto insert dump_extra bitstream filter
Some containers, like Matroska, may propagate key frames with no Sequence
Header OBU since it's provided in extradata instead.
With this change, the Sequence Header will be appended to the packet data
before calling aom_codec_decode().
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e45ed15594a2553056a577177591fbe55694af44
---
configure | 1 +
libavcodec/libaomdec.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/configure b/configure
index 7e3121ead9..15a58935de 100755
--- a/configure
+++ b/configure
@@ -3049,6 +3049,7 @@ h264_videotoolbox_encoder_select="videotoolbox_encoder"
hevc_videotoolbox_encoder_deps="pthreads"
hevc_videotoolbox_encoder_select="videotoolbox_encoder"
libaom_av1_decoder_deps="libaom"
+libaom_av1_decoder_select="dump_extradata_bsf"
libaom_av1_encoder_deps="libaom"
libaom_av1_encoder_select="extract_extradata_bsf"
libcelt_decoder_deps="libcelt"
diff --git a/libavcodec/libaomdec.c b/libavcodec/libaomdec.c
index 6a2de6d47a..ddfba8a023 100644
--- a/libavcodec/libaomdec.c
+++ b/libavcodec/libaomdec.c
@@ -232,4 +232,5 @@ AVCodec ff_libaom_av1_decoder = {
.capabilities = AV_CODEC_CAP_AUTO_THREADS | AV_CODEC_CAP_DR1,
.profiles = NULL_IF_CONFIG_SMALL(ff_av1_profiles),
.wrapper_name = "libaom",
+ .bsfs = "dump_extra",
};
More information about the ffmpeg-cvslog
mailing list