[FFmpeg-devel] [PATCH v2] avformat/nut: Store display matrix side data

Michael Niedermayer michael at niedermayer.cc
Wed Nov 4 20:24:27 EET 2020


On Wed, Nov 04, 2020 at 02:14:08AM +0100, Matthias Neugebauer wrote:
> Stream side data such as display matrix is currently lost when using NUT.
> 
> Signed-off-by: Matthias Neugebauer <mtneug at mailbox.org>
> ---
> libavformat/nutdec.c |  9 +++++++++
> libavformat/nutenc.c | 18 ++++++++++++++++++
> 2 files changed, 27 insertions(+)
> 
> diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
> index 53a052503e..3747a74402 100644
> --- a/libavformat/nutdec.c
> +++ b/libavformat/nutdec.c
> @@ -589,6 +589,15 @@ static int decode_info_header(NUTContext *nut)
>                  continue;
>              }
> 
> +            if (stream_id_plus1 && !strcmp(name, "X-st_sd_displaymatrix")) {

Is this FFmpeg specific or why is the X- prefix preferred over adding
this to nut.txt ?

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

You can kill me, but you cannot change the truth.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20201104/c48890eb/attachment.sig>


More information about the ffmpeg-devel mailing list