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 <mtn...@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.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
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".

Reply via email to