Commit 7cc7d13f authored by Ronald S. Bultje's avatar Ronald S. Bultje

vp9: fix RGB chroma subsampling.

parent ecd9f57e
......@@ -500,7 +500,7 @@ static enum AVPixelFormat read_colorspace_details(AVCodecContext *ctx)
AV_PIX_FMT_GBRP, AV_PIX_FMT_GBRP10, AV_PIX_FMT_GBRP12
};
if (ctx->profile & 1) {
s->ss_h = s->ss_v = 1;
s->ss_h = s->ss_v = 0;
res = pix_fmt_rgb[bits];
ctx->color_range = AVCOL_RANGE_JPEG;
if (get_bits1(&s->gb)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment