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:
Sebastian Dröge 2025-07-14 15:11:26 +03:00 committed by GStreamer Marge Bot
parent e85cbbaf7f
commit daa48f019b

View file

@ -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(&params)); config.set_allocator(None::<&gst::Allocator>, Some(&params));
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);