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

James Zern jzern at google.com
Fri Feb 19 08:07:19 CET 2016


On Thu, Feb 18, 2016 at 3:10 PM, James Almer <jamrial at gmail.com> 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.

That's correct. This would prevent the user from overriding the
decision with unspecified/reserved, not sure it matters.


More information about the ffmpeg-devel mailing list