mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-09-02 01:33:47 +00:00
dav1d: Update for GStreamer bindings API changes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2365>
This commit is contained in:
parent
e85cbbaf7f
commit
daa48f019b
1 changed files with 1 additions and 1 deletions
|
@ -901,7 +901,7 @@ unsafe impl dav1d::PictureAllocator for super::Dav1dDec {
|
||||||
params.set_align(cmp::max(params.align(), dav1d::PICTURE_ALIGNMENT - 1));
|
params.set_align(cmp::max(params.align(), dav1d::PICTURE_ALIGNMENT - 1));
|
||||||
params.set_padding(cmp::max(params.padding(), dav1d::PICTURE_ALIGNMENT));
|
params.set_padding(cmp::max(params.padding(), dav1d::PICTURE_ALIGNMENT));
|
||||||
|
|
||||||
config.set_allocator(None, Some(¶ms));
|
config.set_allocator(None::<&gst::Allocator>, Some(¶ms));
|
||||||
config.add_option(gst_video::BUFFER_POOL_OPTION_VIDEO_META);
|
config.add_option(gst_video::BUFFER_POOL_OPTION_VIDEO_META);
|
||||||
|
|
||||||
let aligned_width = info.width().next_multiple_of(128);
|
let aligned_width = info.width().next_multiple_of(128);
|
||||||
|
|
Loading…
Reference in a new issue