gstreamer: Fix API typo in owned ReferenceTimestampMeta reference getter

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1325>
This commit is contained in:
Sebastian Dröge 2023-10-16 15:45:12 +03:00
parent 5312131069
commit a04ed127af

View file

@ -535,9 +535,9 @@ impl ReferenceTimestampMeta {
unsafe { CapsRef::from_ptr(self.0.reference) }
}
#[doc(alias = "get_parent_owned")]
#[doc(alias = "get_reference_owned")]
#[inline]
pub fn parent_owned(&self) -> Caps {
pub fn reference_owned(&self) -> Caps {
unsafe { from_glib_none(self.0.reference) }
}