On Tue, Jun 01, 2021 at 07:02:39AM +0300, Valerii Zapodovnikov wrote: > This is used for dshow, though may be swapped endianness there. > Fixes #8454. fate-pixdesc-p010le and be will have to be updated. > --- > libavcodec/raw.c | 3 +++ > libavformat/nut.c | 3 +++ > 2 files changed, 6 insertions(+) > > diff --git a/libavcodec/raw.c b/libavcodec/raw.c > index 079d5c5d10..7efc0156ca 100644 > --- a/libavcodec/raw.c > +++ b/libavcodec/raw.c > @@ -224,6 +224,9 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = { > { AV_PIX_FMT_BAYER_GRBG16LE, MKTAG(0xBA, 'G', 'R', 16 ) }, > { AV_PIX_FMT_BAYER_GRBG16BE, MKTAG(16, 'R', 'G', 0xBA) }, > > + { AV_PIX_FMT_P010LE, MKTAG('P', '0', '1', '0') }, > + { AV_PIX_FMT_P010BE, MKTAG('0', '1', '0', 'P') }, > + > /* quicktime */ > { AV_PIX_FMT_YUV420P, MKTAG('R', '4', '2', '0') }, /* Radius DV YUV PAL > */ > { AV_PIX_FMT_YUV411P, MKTAG('R', '4', '1', '1') }, /* Radius DV YUV NTSC > */ > diff --git a/libavformat/nut.c b/libavformat/nut.c > index 47ed152529..c69a9ab6ad 100644 > --- a/libavformat/nut.c > +++ b/libavformat/nut.c > @@ -205,6 +205,9 @@ const AVCodecTag ff_nut_video_tags[] = { > { AV_CODEC_ID_RAWVIDEO, MKTAG(0xBA, 'G', 'R', 16 ) }, > { AV_CODEC_ID_RAWVIDEO, MKTAG(16, 'R', 'G', 0xBA) }, > > + { AV_CODEC_ID_RAWVIDEO, MKTAG('P', '0', '1', '0') }, > + { AV_CODEC_ID_RAWVIDEO, MKTAG('0', '1', '0', 'P') }, > + > { AV_CODEC_ID_NONE, 0 }
these are not listed in https://git.ffmpeg.org/gitweb/nut.git/blob_plain/HEAD:/docs/nut4cc.txt and i also see no suggestion to add them how could anyone be interoperable with this without them being documented ? [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If you think the mosad wants you dead since a long time then you are either wrong or dead since a long time.
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".