mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
qsvdecoder: Fix system memory alignment
Do right padding, not left Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2651>
This commit is contained in:
parent
513a1cbbb3
commit
abd60b6b1e
1 changed files with 1 additions and 1 deletions
|
@ -938,7 +938,7 @@ gst_qsv_decoder_prepare_pool (GstQsvDecoder * self, mfxU16 * io_pattern)
|
|||
}
|
||||
|
||||
gst_video_alignment_reset (&align);
|
||||
align.padding_left = priv->aligned_info.width - priv->info.width;
|
||||
align.padding_right = priv->aligned_info.width - priv->info.width;
|
||||
align.padding_bottom = priv->aligned_info.height - priv->info.height;
|
||||
|
||||
/* TODO: Add Linux video memory (VA/DMABuf) support */
|
||||
|
|
Loading…
Reference in a new issue