Also enable MPEG-2 support in the trace_headers filter.
---
* Updated to add build system.
* Writing support is redone to not have a huge buffer.
* Cleaned the tricky part of the split setup a bit.
* Unit free actually implemented so it doesn't leak all the memory.
configure
---
configure | 1 +
doc/bitstream_filters.texi | 36
libavcodec/Makefile | 1 +
libavcodec/bitstream_filters.c | 1 +
libavcodec/mpeg2_metadata_bsf.c | 356
5 files changed, 395 insertions(+)
create
---
The non-overflow case (noticed while writing similar code for MPEG-2).
libavcodec/cbs_h2645.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c
index 23556f47f..4d8ba99b3 100644
--- a/libavcodec/cbs_h2645.c
+++ b/libavcodec/cbs_h2645.c
---
configure | 2 +-
libavcodec/vaapi_encode_mpeg2.c | 683
2 files changed, 475 insertions(+), 210 deletions(-)
diff --git a/configure b/configure
index 3e5784f85..49db3fb3a 100755
--- a/configure
+++ b/configure
@@ -2301,7
Since there is no information about the source format, "unspecified"
is the correct value to write here.
All tests using the MPEG-2 encoder are updated, as this changes the
header on all outputs.
---
The actual diffs are all trivial, e.g. for fate-lavf-mxf:
# $ diff -u <(hd before.mxf) <(hd