mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-23 00:26:31 +00:00
base: Rename basesink's is_drop_out_of_segment() to drops_out_of_segment()
This commit is contained in:
parent
a21f334290
commit
b23bb2039e
2 changed files with 6 additions and 2 deletions
|
@ -145,6 +145,10 @@ manual_traits = ["BaseSinkExtManual"]
|
|||
# Same as the enable-last-sample property
|
||||
ignore = true
|
||||
|
||||
[[object.function]]
|
||||
name = "get_drop_out_of_segment"
|
||||
rename = "drops_out_of_segment"
|
||||
|
||||
[[object]]
|
||||
name = "GstBase.BaseSrc"
|
||||
status = "generate"
|
||||
|
|
|
@ -39,7 +39,7 @@ pub trait BaseSinkExt: 'static {
|
|||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))]
|
||||
#[doc(alias = "gst_base_sink_get_drop_out_of_segment")]
|
||||
#[doc(alias = "get_drop_out_of_segment")]
|
||||
fn is_drop_out_of_segment(&self) -> bool;
|
||||
fn drops_out_of_segment(&self) -> bool;
|
||||
|
||||
#[doc(alias = "gst_base_sink_get_last_sample")]
|
||||
#[doc(alias = "get_last_sample")]
|
||||
|
@ -232,7 +232,7 @@ impl<O: IsA<BaseSink>> BaseSinkExt for O {
|
|||
|
||||
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))]
|
||||
fn is_drop_out_of_segment(&self) -> bool {
|
||||
fn drops_out_of_segment(&self) -> bool {
|
||||
unsafe {
|
||||
from_glib(ffi::gst_base_sink_get_drop_out_of_segment(
|
||||
self.as_ref().to_glib_none().0,
|
||||
|
|
Loading…
Reference in a new issue