Commit d8269519 authored by James Zern's avatar James Zern

vp9: set color range to MPEG for intraonly profile 0

this is undocumented in the vp9 bitstream and decoding specification
doc, but matches libvpx
Reviewed-by: 's avatar"Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: 's avatarJames Zern <jzern@google.com>
parent 20a6b198
......@@ -459,7 +459,7 @@ static int decode_frame_header(AVCodecContext *avctx,
s->bytesperpixel = 1;
s->pix_fmt = AV_PIX_FMT_YUV420P;
avctx->colorspace = AVCOL_SPC_BT470BG;
avctx->color_range = AVCOL_RANGE_JPEG;
avctx->color_range = AVCOL_RANGE_MPEG;
}
s->s.h.refreshrefmask = get_bits(&s->gb, 8);
w = get_bits(&s->gb, 16) + 1;
......
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