[FFmpeg-devel] [PATCH] avformat/nut: Store display matrix side data
Michael Niedermayer
michael at niedermayer.cc
Tue Nov 3 01:23:29 EET 2020
On Sun, Nov 01, 2020 at 10:05:16PM +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..9ac484f9bc 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, "st_sd_displaymatrix")) {
"st_sd_displaymatrix" is not listed in nut.txt
that either needs to be added or if its a non standard field it needs a
X- prefix
Thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
If you drop bombs on a foreign country and kill a hundred thousand
innocent people, expect your government to call the consequence
"unprovoked inhuman terrorist attacks" and use it to justify dropping
more bombs and killing more people. The technology changed, the idea is old.
-------------- 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/20201103/f61babce/attachment.sig>
More information about the ffmpeg-devel
mailing list