Re: [FFmpeg-devel] [PATCH v2] lavc/aomdec: Allow RGB decoding

2021-06-05 Thread Valerii Zapodovnikov
Forgot git commit -s, since it is more than 10 lines and not documentation changes it should be required. Sorry, also I will not add Co-authored-by: Carl <> since his patch was too flawed. Like really!? Oogh. ___ ffmpeg-devel mailing list ffmpeg-devel@ffm

[FFmpeg-devel] [PATCH v2] lavc/aomdec: Allow RGB decoding

2021-06-04 Thread Valerii Zapodovnikov
Yes, RGB is signalled by Identity matrix if and only if XYZ is not in transfer. XYZ primaires are just normal primaries that can be used for normal RGB, no problem, so I do not check for them. No need to test for sRGB primaries (that is AVCOL_PRI_BT709), as ffplay does not know what that is (is not