mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 01:21:05 +00:00
video/video_meta: get_plane_size now takes a size-annotated array ptr
This commit is contained in:
parent
5afca49a7b
commit
584a87163f
1 changed files with 2 additions and 2 deletions
|
@ -175,7 +175,7 @@ impl VideoMeta {
|
|||
glib::glib_result_from_gboolean!(
|
||||
ffi::gst_video_meta_get_plane_size(
|
||||
&self.0 as *const _ as usize as *mut _,
|
||||
plane_size.as_mut_ptr(),
|
||||
&mut plane_size,
|
||||
),
|
||||
"Failed to get plane size"
|
||||
)?;
|
||||
|
@ -193,7 +193,7 @@ impl VideoMeta {
|
|||
glib::glib_result_from_gboolean!(
|
||||
ffi::gst_video_meta_get_plane_height(
|
||||
&self.0 as *const _ as usize as *mut _,
|
||||
plane_height.as_mut_ptr(),
|
||||
&mut plane_height,
|
||||
),
|
||||
"Failed to get plane height"
|
||||
)?;
|
||||
|
|
Loading…
Reference in a new issue