I have incorporated James' suggestions regarding the comments. This of course necessitated a rebase and because there were merge conflicts to be solved in h264_redundant_pps I'm resending all patches after #9. I also add the patches from my earlier patchsets [1] (dealing mostly with mpeg2) and [2] (about updating the AVCodecParameters).
- Andreas [1]: https://ffmpeg.org/pipermail/ffmpeg-devel/2019-June/244952.html [2]: https://ffmpeg.org/pipermail/ffmpeg-devel/2018-December/236990.html Andreas Rheinhardt (22): av1_metadata: Error out if fragment is empty cbs: Remove superfluous checks for ff_cbs_delete_unit cbs_h264, h264_metadata: Deleting SEI messages never fails h264_redundant_pps: Avoid allocations and copies of packet structures h264_redundant_pps: Fix looping over an access unit's units h265_metadata: Avoid allocations and copies of packet structures h265_metadata: Correct error check mpeg2_metadata: Avoid allocations and copies of packet structures mpeg2_metadata: Localize inserting of sequence display extensions vp9_metadata: Avoid allocations and copies of packet structures mpeg2_metadata, cbs_mpeg2: Fix handling of colour_description cbs: Remove useless initializations cbs_mpeg2: Fix parsing of picture and slice headers cbs_mpeg2: Remove zero byte stuffing av1/h264_metadata: Don't reinitialize data cbs: Add function to update video codec parameters av1_metadata: Add option to update codec parameters mpeg2_metadata: Additionally update AVCodecParameters vp9_metadata: Improve spec-compliance and warnings vp9_metadata: Update AVCodecParameters h264_metadata: Update AVCodecParameters hevc_metadata: Update AVCodecParameters doc/bitstream_filters.texi | 43 ++++++++- libavcodec/av1_metadata_bsf.c | 64 ++++++++++---- libavcodec/cbs.c | 35 ++++++++ libavcodec/cbs.h | 17 ++++ libavcodec/cbs_av1.c | 14 +-- libavcodec/cbs_h264.h | 8 +- libavcodec/cbs_h2645.c | 22 ++--- libavcodec/cbs_jpeg.c | 2 +- libavcodec/cbs_mpeg2.c | 86 +++++++++++++----- libavcodec/cbs_mpeg2.h | 14 +-- libavcodec/cbs_mpeg2_syntax_template.c | 76 +++++++++------- libavcodec/cbs_vp9.c | 8 +- libavcodec/filter_units_bsf.c | 1 + libavcodec/h264_metadata_bsf.c | 116 ++++++++++++++----------- libavcodec/h264_redundant_pps_bsf.c | 26 +++--- libavcodec/h265_metadata_bsf.c | 64 ++++++++++---- libavcodec/mpeg2_metadata_bsf.c | 73 +++++++++------- libavcodec/vp9_metadata_bsf.c | 80 ++++++++++++----- tests/ref/fate/cbs-mpeg2-sony-ct3 | 2 +- 19 files changed, 500 insertions(+), 251 deletions(-) -- 2.21.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".