this is undocumented in the vp9 bitstream and decoding specification doc, but matches libvpx
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -459,7 +459,7 @@ static int decode_frame_header(AVCodecContext *avctx, · 458 unmodified lines | ||
| 459 | 459 | s->bytesperpixel = 1; |
| 460 | 460 | s->pix_fmt = AV_PIX_FMT_YUV420P; |
| 461 | 461 | avctx->colorspace = AVCOL_SPC_BT470BG; |
| 462 | − avctx->color_range = AVCOL_RANGE_JPEG; | |
| 462 | + avctx->color_range = AVCOL_RANGE_MPEG; | |
| 463 | 463 | } |
| 464 | 464 | s->s.h.refreshrefmask = get_bits(&s->gb, 8); |
| 465 | 465 | w = get_bits(&s->gb, 16) + 1; |