base: Rename basesink's is_drop_out_of_segment() to drops_out_of_segment()

This commit is contained in:
Sebastian Dröge 2021-05-30 20:05:31 +03:00
parent a21f334290
commit b23bb2039e
2 changed files with 6 additions and 2 deletions

View file

@ -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"

View file

@ -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,