decoder: vp9: Set lossless flag from frame header

This commit is contained in:
Sreerenj Balachandran 2015-11-13 18:41:53 +02:00
parent 66bfe9bad7
commit 9b885c65ca

View file

@ -277,7 +277,7 @@ fill_picture (GstVaapiDecoderVp9 * decoder, GstVaapiPicture * picture)
COPY_BFM (pic_fields, frame_hdr, reset_frame_context); COPY_BFM (pic_fields, frame_hdr, reset_frame_context);
COPY_BFM (pic_fields, frame_hdr, refresh_frame_context); COPY_BFM (pic_fields, frame_hdr, refresh_frame_context);
COPY_BFM (pic_fields, frame_hdr, frame_context_idx); COPY_BFM (pic_fields, frame_hdr, frame_context_idx);
COPY_BFM (pic_fields, parser, lossless_flag); COPY_BFM (pic_fields, frame_hdr, lossless_flag);
pic_param->pic_fields.bits.segmentation_enabled = pic_param->pic_fields.bits.segmentation_enabled =
frame_hdr->segmentation.enabled; frame_hdr->segmentation.enabled;