[FFmpeg-devel] [PATCH] libavformat: add side_data copy in concat demuxer

Nicolas George george at nsup.org
Wed Dec 15 21:05:00 EET 2021


Gerard Sole (12021-12-15):
> Adds support for concat demuxer to copy the side data information
> from the input file to the resulting file. It will behave like the
> metadata copy, where the metadata of the first file is kept in the
> the output file.
> 
> Extract the current code that already performs the stream side_data
> copy into a separate method and reuse the method in the concat demuxer.
> 
> Signed-off-by: Gerard Sole <g.sole.ca at gmail.com>
> ---
>  libavformat/concatdec.c                             | 1 +
>  libavformat/internal.h                              | 9 +++++++++
>  libavformat/utils.c                                 | 9 +++++++++
>  tests/ref/fate/concat-demuxer-extended-lavf-mxf     | 2 +-
>  tests/ref/fate/concat-demuxer-extended-lavf-mxf_d10 | 2 +-
>  tests/ref/fate/concat-demuxer-simple1-lavf-mxf      | 1 +
>  tests/ref/fate/concat-demuxer-simple1-lavf-mxf_d10  | 1 +
>  tests/ref/fate/concat-demuxer-simple2-lavf-ts       | 1 +
>  8 files changed, 24 insertions(+), 2 deletions(-)

Sorry. I was about to apply it but something else came up. This version
looks even better. I will try to find time in the next few days.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20211215/ff3e8778/attachment.sig>


More information about the ffmpeg-devel mailing list