mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
v4l2codecs: vp9: Only fill compressed headers if needed
Fixes: 13944cf3ee
("v4l2codecs: vp9: Make compressed hdr control optional")
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1748>
This commit is contained in:
parent
54a1f60077
commit
5a9df9e850
1 changed files with 3 additions and 1 deletions
|
@ -723,7 +723,9 @@ gst_v4l2_codec_vp9_dec_decode_picture (GstVp9Decoder * decoder,
|
|||
}
|
||||
|
||||
gst_v4l2_codec_vp9_dec_fill_dec_params (self, &picture->frame_hdr, dpb);
|
||||
gst_v4l2_codec_vp9_dec_fill_prob_updates (self, &picture->frame_hdr);
|
||||
|
||||
if (decoder->parse_compressed_headers)
|
||||
gst_v4l2_codec_vp9_dec_fill_prob_updates (self, &picture->frame_hdr);
|
||||
|
||||
memcpy (bitstream_data, picture->data, picture->size);
|
||||
self->bitstream_map.size = picture->size;
|
||||
|
|
Loading…
Reference in a new issue