[−][src]Enum gstreamer::PadProbeReturn
Different return values for the GstPadProbeCallback
.
Variants (Non-exhaustive)
drop data in data probes. For push mode this means that
the data item is not sent downstream. For pull mode, it means that
the data item is not passed upstream. In both cases, no other probes
are called for this item and FlowReturn::Ok
or true
is returned to the
caller.
normal probe return value. This leaves the probe in place, and defers decisions about dropping or passing data to other probes, if any. If there are no other probes, the default behaviour for the probe type applies ('block' for blocking probes, and 'pass' for non-blocking probes).
remove this probe.
pass the data item in the block probe and block on the next item.
Data has been handled in the probe and will not be
forwarded further. For events and buffers this is the same behaviour as
PadProbeReturn::Drop
(except that in this case you need to unref the buffer
or event yourself). For queries it will also return true
to the caller.
The probe can also modify the FlowReturn
value by using the
GST_PAD_PROBE_INFO_FLOW_RETURN
() accessor.
Note that the resulting query must contain valid entries.
Since: 1.6
Trait Implementations
impl Clone for PadProbeReturn
[src]
fn clone(&self) -> PadProbeReturn
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PadProbeReturn
[src]
impl Debug for PadProbeReturn
[src]
impl Eq for PadProbeReturn
[src]
impl<'a> FromValue<'a> for PadProbeReturn
[src]
unsafe fn from_value(value: &Value) -> Self
[src]
impl<'a> FromValueOptional<'a> for PadProbeReturn
[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
impl Hash for PadProbeReturn
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for PadProbeReturn
[src]
fn cmp(&self, other: &PadProbeReturn) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<PadProbeReturn> for PadProbeReturn
[src]
fn eq(&self, other: &PadProbeReturn) -> bool
[src]
fn ne(&self, other: &PadProbeReturn) -> bool
[src]
impl PartialOrd<PadProbeReturn> for PadProbeReturn
[src]
fn partial_cmp(&self, other: &PadProbeReturn) -> Option<Ordering>
[src]
fn lt(&self, other: &PadProbeReturn) -> bool
[src]
fn le(&self, other: &PadProbeReturn) -> bool
[src]
fn gt(&self, other: &PadProbeReturn) -> bool
[src]
fn ge(&self, other: &PadProbeReturn) -> bool
[src]
impl SetValue for PadProbeReturn
[src]
impl StaticType for PadProbeReturn
[src]
fn static_type() -> Type
[src]
impl StructuralEq for PadProbeReturn
[src]
impl StructuralPartialEq for PadProbeReturn
[src]
Auto Trait Implementations
impl RefUnwindSafe for PadProbeReturn
impl Send for PadProbeReturn
impl Sync for PadProbeReturn
impl Unpin for PadProbeReturn
impl UnwindSafe for PadProbeReturn
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src]
T: ToValue + SetValue + Send + ?Sized,
fn to_send_value(&self) -> SendValue
[src]
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,