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

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Feb 19 21:18:58 CET 2016


Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:

> > >> +    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.
> 
> Of course, new patch attached (depends on the BE fix).

Applied this patch and the reindentation.

Carl Eugen



More information about the ffmpeg-devel mailing list