forked from mirrors/gstreamer-rs
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
|
# Same as the enable-last-sample property
|
||||||
ignore = true
|
ignore = true
|
||||||
|
|
||||||
|
[[object.function]]
|
||||||
|
name = "get_drop_out_of_segment"
|
||||||
|
rename = "drops_out_of_segment"
|
||||||
|
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "GstBase.BaseSrc"
|
name = "GstBase.BaseSrc"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
|
|
|
@ -39,7 +39,7 @@ pub trait BaseSinkExt: 'static {
|
||||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))]
|
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))]
|
||||||
#[doc(alias = "gst_base_sink_get_drop_out_of_segment")]
|
#[doc(alias = "gst_base_sink_get_drop_out_of_segment")]
|
||||||
#[doc(alias = "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 = "gst_base_sink_get_last_sample")]
|
||||||
#[doc(alias = "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(any(feature = "v1_12", feature = "dox"))]
|
||||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))]
|
#[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 {
|
unsafe {
|
||||||
from_glib(ffi::gst_base_sink_get_drop_out_of_segment(
|
from_glib(ffi::gst_base_sink_get_drop_out_of_segment(
|
||||||
self.as_ref().to_glib_none().0,
|
self.as_ref().to_glib_none().0,
|
||||||
|
|
Loading…
Reference in a new issue