mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-03-13 09:00:40 +08:00
ffv1enc: add descriptor information for GBRP
The C encoder does not support GBRP, this just adds info fields so the Vulkan encoder can use it.
This commit is contained in:
@@ -906,6 +906,7 @@ av_cold int ff_ffv1_encode_setup_plane_info(AVCodecContext *avctx,
|
||||
s->use32bit = 1;
|
||||
s->version = FFMAX(s->version, 1);
|
||||
break;
|
||||
case AV_PIX_FMT_GBRP:
|
||||
case AV_PIX_FMT_0RGB32:
|
||||
s->colorspace = 1;
|
||||
s->chroma_planes = 1;
|
||||
|
||||
Reference in New Issue
Block a user