You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
vp9: fix RGB chroma subsampling.
This commit is contained in:
@@ -500,7 +500,7 @@ static enum AVPixelFormat read_colorspace_details(AVCodecContext *ctx)
|
|||||||
AV_PIX_FMT_GBRP, AV_PIX_FMT_GBRP10, AV_PIX_FMT_GBRP12
|
AV_PIX_FMT_GBRP, AV_PIX_FMT_GBRP10, AV_PIX_FMT_GBRP12
|
||||||
};
|
};
|
||||||
if (ctx->profile & 1) {
|
if (ctx->profile & 1) {
|
||||||
s->ss_h = s->ss_v = 1;
|
s->ss_h = s->ss_v = 0;
|
||||||
res = pix_fmt_rgb[bits];
|
res = pix_fmt_rgb[bits];
|
||||||
ctx->color_range = AVCOL_RANGE_JPEG;
|
ctx->color_range = AVCOL_RANGE_JPEG;
|
||||||
if (get_bits1(&s->gb)) {
|
if (get_bits1(&s->gb)) {
|
||||||
|
Reference in New Issue
Block a user