[FFmpeg-devel] [PATCH] lavc/libvpx: fix support for RGB colorspace.

James Almer jamrial at gmail.com
Fri Feb 19 00:18:06 CET 2016


On 2/18/2016 8:10 PM, James Almer wrote:
> On 2/18/2016 7:59 PM, Carl Eugen Hoyos wrote:
>> +    case AV_PIX_FMT_GBRP:
>> +        ctx->vpx_cs = VPX_CS_SRGB;
> 
> This is only available since libvpx 1.4.0, so you need to wrap all this new
> code inside some preprocessor checks. I think VPX_IMAGE_ABI_VERSION >= 3
> should do it, but better wait for James Zern for confirmation.

Alternatively we could bump the minimum required version and remove most of
the existing checks. 1.3.0 is pretty old by now and it would let us clean
these files.

I doubt there's any distro out there that would ship ffmpeg 3.1 alongside
libvpx 1.3.0.


More information about the ffmpeg-devel mailing list