mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-09-01 01:13:48 +00:00
videometatransform: Add accessor for members
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1776>
This commit is contained in:
parent
c16e94ebdd
commit
672c19dad0
1 changed files with 8 additions and 0 deletions
|
@ -1216,6 +1216,14 @@ impl VideoMetaTransformScale {
|
|||
out_info: mut_override(out_info.to_glib_none().0),
|
||||
})
|
||||
}
|
||||
|
||||
pub fn in_info(&self) -> &crate::VideoInfo {
|
||||
unsafe { &*(self.0.in_info as *const crate::VideoInfo) }
|
||||
}
|
||||
|
||||
pub fn out_info(&self) -> &crate::VideoInfo {
|
||||
unsafe { &*(self.0.out_info as *const crate::VideoInfo) }
|
||||
}
|
||||
}
|
||||
|
||||
unsafe impl gst::meta::MetaTransform for VideoMetaTransformScale {
|
||||
|
|
Loading…
Reference in a new issue