Trait gstreamer_base::prelude::ElementExtManual [−][src]
pub trait ElementExtManual { fn query(&self, query: &mut QueryRef) -> bool; fn send_event(&self, event: GstRc<EventRef>) -> bool; fn get_metadata<'a>(&self, key: &str) -> Option<&'a str>; fn get_pad_template(&self, name: &str) -> Option<PadTemplate>; fn get_pad_template_list(&self) -> Vec<PadTemplate>; fn message_full<T>(
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32
)
where
T: MessageErrorDomain; fn message_full_with_details<T>(
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32,
structure: Structure
)
where
T: MessageErrorDomain; fn post_error_message(&self, msg: &ErrorMessage); fn iterate_pads(&self) -> Iterator<Pad>; fn iterate_sink_pads(&self) -> Iterator<Pad>; fn iterate_src_pads(&self) -> Iterator<Pad>; fn get_pads(&self) -> Vec<Pad>; fn get_sink_pads(&self) -> Vec<Pad>; fn get_src_pads(&self) -> Vec<Pad>; fn add_property_deep_notify_watch<'a, P>(
&self,
property_name: P,
include_value: bool
) -> NotifyWatchId
where
P: Into<Option<&'a str>>; fn add_property_notify_watch<'a, P>(
&self,
property_name: P,
include_value: bool
) -> NotifyWatchId
where
P: Into<Option<&'a str>>; fn remove_property_notify_watch(&self, watch_id: NotifyWatchId); fn query_convert<V, U>(&self, src_val: V) -> Option<U>
where
U: SpecificFormattedValue,
V: Into<GenericFormattedValue>; fn query_convert_generic<V>(
&self,
src_val: V,
dest_format: Format
) -> Option<GenericFormattedValue>
where
V: Into<GenericFormattedValue>; fn query_duration<T>(&self) -> Option<T>
where
T: SpecificFormattedValue; fn query_duration_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>; fn query_position<T>(&self) -> Option<T>
where
T: SpecificFormattedValue; fn query_position_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>; fn seek<V>(
&self,
rate: f64,
flags: SeekFlags,
start_type: SeekType,
start: V,
stop_type: SeekType,
stop: V
) -> Result<(), BoolError>
where
V: Into<GenericFormattedValue>; fn seek_simple<V>(
&self,
seek_flags: SeekFlags,
seek_pos: V
) -> Result<(), BoolError>
where
V: Into<GenericFormattedValue>; fn call_async<F>(&self, func: F)
where
F: FnOnce(&Self) + Send + 'static; }
Required Methods
fn query(&self, query: &mut QueryRef) -> bool
fn send_event(&self, event: GstRc<EventRef>) -> bool
fn get_metadata<'a>(&self, key: &str) -> Option<&'a str>
fn get_pad_template(&self, name: &str) -> Option<PadTemplate>
fn get_pad_template_list(&self) -> Vec<PadTemplate>
fn message_full<T>(
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32
) where
T: MessageErrorDomain,
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32
) where
T: MessageErrorDomain,
fn message_full_with_details<T>(
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32,
structure: Structure
) where
T: MessageErrorDomain,
&self,
type_: ElementMessageType,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32,
structure: Structure
) where
T: MessageErrorDomain,
fn post_error_message(&self, msg: &ErrorMessage)
fn iterate_pads(&self) -> Iterator<Pad>
fn iterate_sink_pads(&self) -> Iterator<Pad>
fn iterate_src_pads(&self) -> Iterator<Pad>
fn get_pads(&self) -> Vec<Pad>
fn get_sink_pads(&self) -> Vec<Pad>
fn get_src_pads(&self) -> Vec<Pad>
fn add_property_deep_notify_watch<'a, P>(
&self,
property_name: P,
include_value: bool
) -> NotifyWatchId where
P: Into<Option<&'a str>>,
&self,
property_name: P,
include_value: bool
) -> NotifyWatchId where
P: Into<Option<&'a str>>,
fn add_property_notify_watch<'a, P>(
&self,
property_name: P,
include_value: bool
) -> NotifyWatchId where
P: Into<Option<&'a str>>,
&self,
property_name: P,
include_value: bool
) -> NotifyWatchId where
P: Into<Option<&'a str>>,
fn remove_property_notify_watch(&self, watch_id: NotifyWatchId)
fn query_convert<V, U>(&self, src_val: V) -> Option<U> where
U: SpecificFormattedValue,
V: Into<GenericFormattedValue>,
U: SpecificFormattedValue,
V: Into<GenericFormattedValue>,
fn query_convert_generic<V>(
&self,
src_val: V,
dest_format: Format
) -> Option<GenericFormattedValue> where
V: Into<GenericFormattedValue>,
&self,
src_val: V,
dest_format: Format
) -> Option<GenericFormattedValue> where
V: Into<GenericFormattedValue>,
fn query_duration<T>(&self) -> Option<T> where
T: SpecificFormattedValue,
T: SpecificFormattedValue,
fn query_duration_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>
&self,
format: Format
) -> Option<GenericFormattedValue>
fn query_position<T>(&self) -> Option<T> where
T: SpecificFormattedValue,
T: SpecificFormattedValue,
fn query_position_generic(
&self,
format: Format
) -> Option<GenericFormattedValue>
&self,
format: Format
) -> Option<GenericFormattedValue>
fn seek<V>(
&self,
rate: f64,
flags: SeekFlags,
start_type: SeekType,
start: V,
stop_type: SeekType,
stop: V
) -> Result<(), BoolError> where
V: Into<GenericFormattedValue>,
&self,
rate: f64,
flags: SeekFlags,
start_type: SeekType,
start: V,
stop_type: SeekType,
stop: V
) -> Result<(), BoolError> where
V: Into<GenericFormattedValue>,
fn seek_simple<V>(
&self,
seek_flags: SeekFlags,
seek_pos: V
) -> Result<(), BoolError> where
V: Into<GenericFormattedValue>,
&self,
seek_flags: SeekFlags,
seek_pos: V
) -> Result<(), BoolError> where
V: Into<GenericFormattedValue>,
fn call_async<F>(&self, func: F) where
F: FnOnce(&Self) + Send + 'static,
F: FnOnce(&Self) + Send + 'static,