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: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: James Zern <jzern@google.com>
This commit is contained in:
parent
20a6b198b4
commit
d8269519e4
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue