|
| AudioBaseSink (AudioBaseSink&& src) noexcept |
|
AudioBaseSink& | operator= (AudioBaseSink&& src) noexcept |
|
| ~AudioBaseSink () noexcept override |
|
GstAudioBaseSink* | gobj () |
| Provides access to the underlying C GObject.
|
|
const GstAudioBaseSink* | gobj () const |
| Provides access to the underlying C GObject.
|
|
GstAudioBaseSink* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
|
Glib::RefPtr< Gst::Clock > | get_provided_clock () |
| Get the Gst::Clock of the Gst::AudioBaseSink.
|
|
Glib::RefPtr< const Gst::Clock > | get_provided_clock () const |
|
Glib::RefPtr< Gst::AudioRingBuffer > | create_ring_buffer () |
| Create and return the Gst::AudioRingBuffer for sink.
|
|
void | set_provide_clock (bool provide) |
| Controls whether sink will provide a clock or not.
|
|
bool | get_provide_clock () const |
| Queries whether sink will provide a clock or not.
|
|
void | set_slave_method (Gst::AudioBaseSinkSlaveMethod method) |
| Controls how clock slaving will be performed in sink.
|
|
Gst::AudioBaseSinkSlaveMethod | get_slave_method () const |
| Get the current slave method used by sink.
|
|
gint64 | get_drift_tolerance () const |
| Get the current drift tolerance, in microseconds, used by sink.
|
|
void | set_drift_tolerance (gint64 drift_tolerance) |
| Controls the sink's drift tolerance.
|
|
void | set_discont_wait (Gst::ClockTime discont_wait) |
| Controls how long the sink will wait before creating a discontinuity.
|
|
Gst::ClockTime | get_discont_wait () const |
| Get the current discont wait, in nanoseconds, used by sink.
|
|
void | set_alignment_threshold (Gst::ClockTime alignment_threshold) |
| Controls the sink's alignment threshold.
|
|
Gst::ClockTime | get_alignment_threshold () const |
| Get the current alignment threshold, in nanoseconds, used by sink.
|
|
void | report_device_failure () |
| Informs this base class that the audio output device has failed for some reason, causing a discontinuity (for example, because the device recovered from the error, but lost all contents of its ring buffer).
|
|
void | set_custom_slaving_callback (const SlotCustomSlaving& slot) |
| Sets the custom slaving callback.
|
|
Glib::PropertyProxy< guint64 > | property_alignment_threshold () |
| Timestamp alignment threshold in nanoseconds.
|
|
Glib::PropertyProxy_ReadOnly< guint64 > | property_alignment_threshold () const |
| Timestamp alignment threshold in nanoseconds.
|
|
Glib::PropertyProxy< gint64 > | property_buffer_time () |
| Size of audio buffer in microseconds, this is the minimum latency that the sink reports.
|
|
Glib::PropertyProxy_ReadOnly< gint64 > | property_buffer_time () const |
| Size of audio buffer in microseconds, this is the minimum latency that the sink reports.
|
|
Glib::PropertyProxy< bool > | property_can_activate_pull () |
| Allow pull-based scheduling.
|
|
Glib::PropertyProxy_ReadOnly< bool > | property_can_activate_pull () const |
| Allow pull-based scheduling.
|
|
Glib::PropertyProxy< guint64 > | property_discont_wait () |
| Window of time in nanoseconds to wait before creating a discontinuity.
|
|
Glib::PropertyProxy_ReadOnly< guint64 > | property_discont_wait () const |
| Window of time in nanoseconds to wait before creating a discontinuity.
|
|
Glib::PropertyProxy< gint64 > | property_drift_tolerance () |
| Tolerance for clock drift in microseconds.
|
|
Glib::PropertyProxy_ReadOnly< gint64 > | property_drift_tolerance () const |
| Tolerance for clock drift in microseconds.
|
|
Glib::PropertyProxy< gint64 > | property_latency_time () |
| The minimum amount of data to write in each iteration in microseconds.
|
|
Glib::PropertyProxy_ReadOnly< gint64 > | property_latency_time () const |
| The minimum amount of data to write in each iteration in microseconds.
|
|
Glib::PropertyProxy< bool > | property_provide_clock () |
| Provide a clock to be used as the global pipeline clock.
|
|
Glib::PropertyProxy_ReadOnly< bool > | property_provide_clock () const |
| Provide a clock to be used as the global pipeline clock.
|
|
Glib::PropertyProxy< Gst::AudioBaseSinkSlaveMethod > | property_slave_method () |
| Algorithm used to match the rate of the masterclock.
|
|
Glib::PropertyProxy_ReadOnly< Gst::AudioBaseSinkSlaveMethod > | property_slave_method () const |
| Algorithm used to match the rate of the masterclock.
|
|
virtual Glib::RefPtr< Gst::AudioRingBuffer > | create_ring_buffer_vfunc () |
| vfunc to create and return a Gst::AudioRingBuffer to write to.
|
|
virtual Glib::RefPtr< Gst::Buffer > | payload_vfunc (const Glib::RefPtr< Gst::Buffer >& buffer) |
| vfunc to payload data in a format suitable to write to the sink.
|
|
| BaseSink (BaseSink&& src) noexcept |
|
BaseSink& | operator= (BaseSink&& src) noexcept |
|
| ~BaseSink () noexcept override |
|
GstBaseSink* | gobj () |
| Provides access to the underlying C GObject.
|
|
const GstBaseSink* | gobj () const |
| Provides access to the underlying C GObject.
|
|
GstBaseSink* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
|
bool | query_latency (bool& live, bool& upstream_live, Gst::ClockTime& min_latency, Gst::ClockTime& max_latency) const |
| Query the sink for the latency parameters.
|
|
Gst::ClockTime | get_latency () const |
| Get the currently configured latency.
|
|
Gst::FlowReturn | do_preroll (const Glib::RefPtr< Gst::MiniObject >& obj) |
| If the sink spawns its own thread for pulling buffers from upstream it should call this method after it has pulled a buffer.
|
|
Gst::FlowReturn | wait_preroll () |
| If the Gst::BaseSinkClass.render() method performs its own synchronisation against the clock it must unblock when going from PLAYING to the PAUSED state and call this method before continuing to render the remaining data.
|
|
Gst::ClockReturn | wait_clock (Gst::ClockTime time, Gst::ClockTimeDiff& jitter) |
| This function will block until time is reached.
|
|
Gst::ClockReturn | wait_clock (Gst::ClockTime time) |
| A wait_clock() convenience overload.
|
|
Gst::FlowReturn | wait (Gst::ClockTime time, Gst::ClockTimeDiff& jitter) |
| This function will wait for preroll to complete and will then block until time is reached.
|
|
Gst::FlowReturn | wait (Gst::ClockTime time) |
| A wait() convenience overload.
|
|
void | set_sync (bool sync) |
| Configures sink to synchronize on the clock or not.
|
|
bool | get_sync () const |
| Checks if sink is currently configured to synchronize against the clock.
|
|
void | set_max_lateness (gint64 max_lateness) |
| Sets the new max lateness value to max_lateness.
|
|
gint64 | get_max_lateness () const |
| Gets the max lateness value.
|
|
void | set_qos_enabled (bool enabled) |
| Configures sink to send Quality-of-Service events upstream.
|
|
bool | is_qos_enabled () const |
| Checks if sink is currently configured to send Quality-of-Service events upstream.
|
|
void | set_async_enabled (bool enabled) |
| Configures sink to perform all state changes asynchronously.
|
|
bool | is_async_enabled () const |
| Checks if sink is currently configured to perform asynchronous state changes to PAUSED.
|
|
void | set_ts_offset (Gst::ClockTimeDiff offset) |
| Adjust the synchronisation of sink with offset.
|
|
Gst::ClockTimeDiff | get_ts_offset () const |
| Get the synchronisation offset of sink.
|
|
void | set_render_delay (Gst::ClockTime delay) |
| Set the render delay in sink to delay.
|
|
Gst::ClockTime | get_render_delay () const |
| Get the render delay of sink.
|
|
void | set_blocksize (guint blocksize) |
| Set the number of bytes that the sink will pull when it is operating in pull mode.
|
|
guint | get_blocksize () const |
| Get the number of bytes that the sink will pull when it is operating in pull mode.
|
|
guint64 | get_throttle_time () const |
| Get the time that will be inserted between frames to control the maximum buffers per second.
|
|
void | set_throttle_time (guint64 throttle) |
| Set the time that will be inserted between rendered buffers.
|
|
Glib::RefPtr< Gst::Sample > | get_last_sample () const |
| Get the last sample that arrived in the sink and was used for preroll or for rendering.
|
|
void | set_max_bitrate (guint64 max_bitrate) |
| Set the maximum amount of bits per second that the sink will render.
|
|
guint64 | get_max_bitrate () const |
| Get the maximum amount of bits per second that the sink will render.
|
|
void | set_last_sample_enabled (bool enabled) |
| Configures sink to store the last received sample in the last-sample property.
|
|
bool | is_last_sample_enabled () const |
| Checks if sink is currently configured to store the last received sample in the last-sample property.
|
|
Glib::RefPtr< Gst::Pad > | get_sink_pad () |
| Gets the sink Gst::Pad object of the element.
|
|
Glib::RefPtr< const Gst::Pad > | get_sink_pad () const |
|
Glib::PropertyProxy< bool > | property_async () |
| Go asynchronously to PAUSED.
|
|
Glib::PropertyProxy_ReadOnly< bool > | property_async () const |
| Go asynchronously to PAUSED.
|
|
Glib::PropertyProxy< gint64 > | property_max_lateness () |
| Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited).
|
|
Glib::PropertyProxy_ReadOnly< gint64 > | property_max_lateness () const |
| Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited).
|
|
Glib::PropertyProxy< bool > | property_qos () |
| Generate Quality-of-Service events upstream.
|
|
Glib::PropertyProxy_ReadOnly< bool > | property_qos () const |
| Generate Quality-of-Service events upstream.
|
|
Glib::PropertyProxy< bool > | property_sync () |
| Sync on the clock.
|
|
Glib::PropertyProxy_ReadOnly< bool > | property_sync () const |
| Sync on the clock.
|
|
Glib::PropertyProxy< gint64 > | property_ts_offset () |
| Timestamp offset in nanoseconds.
|
|
Glib::PropertyProxy_ReadOnly< gint64 > | property_ts_offset () const |
| Timestamp offset in nanoseconds.
|
|
Glib::PropertyProxy< guint64 > | property_render_delay () |
| Additional render delay of the sink in nanoseconds.
|
|
Glib::PropertyProxy_ReadOnly< guint64 > | property_render_delay () const |
| Additional render delay of the sink in nanoseconds.
|
|
Glib::PropertyProxy< guint64 > | property_throttle_time () |
| The time to keep between rendered buffers (0 = disabled).
|
|
Glib::PropertyProxy_ReadOnly< guint64 > | property_throttle_time () const |
| The time to keep between rendered buffers (0 = disabled).
|
|
Glib::PropertyProxy< guint > | property_blocksize () |
| Size in bytes to pull per buffer (0 = default).
|
|
Glib::PropertyProxy_ReadOnly< guint > | property_blocksize () const |
| Size in bytes to pull per buffer (0 = default).
|
|
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gst::Sample > > | property_last_sample () const |
| The last sample received in the sink.
|
|
Glib::PropertyProxy< bool > | property_enable_last_sample () |
| Enable the last-sample property.
|
|
Glib::PropertyProxy_ReadOnly< bool > | property_enable_last_sample () const |
| Enable the last-sample property.
|
|
Glib::PropertyProxy< guint64 > | property_max_bitrate () |
| The maximum bits per second to render (0 = disabled).
|
|
Glib::PropertyProxy_ReadOnly< guint64 > | property_max_bitrate () const |
| The maximum bits per second to render (0 = disabled).
|
|
virtual Glib::RefPtr< Gst::Caps > | get_caps_vfunc (const Glib::RefPtr< Gst::Caps >& caps) const |
| Called to get sink pad caps from the subclass.
|
|
virtual bool | set_caps_vfunc (const Glib::RefPtr< Gst::Caps >& caps) |
| Notify subclass of changed caps.
|
|
virtual void | get_times_vfunc (const Glib::RefPtr< Gst::Buffer >& buffer, Gst::ClockTime&start, Gst::ClockTime&end) const |
| Called to get the start and end times for synchronising the passed buffer to the clock.
|
|
virtual bool | start_vfunc () |
| Start processing.
|
|
virtual bool | stop_vfunc () |
| Stop processing.
|
|
virtual bool | unlock_vfunc () |
| Unlock any pending access to the resource.
|
|
virtual bool | event_vfunc (const Glib::RefPtr< Gst::Event >& event) |
| Override this to handle events arriving on the sink pad.
|
|
virtual FlowReturn | wait_event_vfunc (const Glib::RefPtr< Gst::Event >& event) |
| Override this to implement custom logic to wait for the event time (for events like EOS and GAP).
|
|
virtual FlowReturn | preroll_vfunc (const Glib::RefPtr< Gst::Buffer >& buffer) |
| Called to present the preroll buffer if desired.
|
|
virtual FlowReturn | render_vfunc (const Glib::RefPtr< Gst::Buffer >& buffer) |
| Called when a buffer should be presented or output, at the correct moment if the Gst::BaseSink has been set to sync to the clock.
|
|
virtual bool | activate_pull_vfunc (bool active) |
| Subclasses should override this when they need to perform special processing when changing to the PLAYING state asynchronously.
|
|
virtual Glib::RefPtr< Gst::Caps > | fixate_vfunc (const Glib::RefPtr< Gst::Caps >& caps) |
| Only useful in pull mode, this vmethod will be called in response to Gst::Pad::fixate_caps() being called on the sink pad.
|
|
virtual bool | unlock_stop_vfunc () |
| Clear the previous unlock request.
|
|
virtual FlowReturn | render_list_vfunc (const Glib::RefPtr< Gst::BufferList >& buffer_list) |
| Render a BufferList.
|
|
virtual FlowReturn | prepare_vfunc (const Glib::RefPtr< Gst::Buffer >& buffer) |
| Called to prepare the buffer for render and preroll.
|
|
virtual FlowReturn | prepare_list_vfunc (const Glib::RefPtr< Gst::BufferList >& buffer_list) |
| Called to prepare the buffer list for render_list.
|
|
virtual bool | base_sink_query_vfunc (const Glib::RefPtr< Gst::Query >&query) |
| Perform a GstQuery on the element.
|
|
virtual bool | propose_allocation_vfunc (const Glib::RefPtr< Gst::Query >&query) |
| Configure the allocation query.
|
|
| Element (Element&& src) noexcept |
|
Element& | operator= (Element&& src) noexcept |
|
| ~Element () noexcept override |
|
GstElement* | gobj () |
| Provides access to the underlying C GObject.
|
|
const GstElement* | gobj () const |
| Provides access to the underlying C GObject.
|
|
GstElement* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
|
Glib::RefPtr< Gst::Element > | link (const Glib::RefPtr< Gst::Element >& dest) |
| Links this source element to the dest element.
|
|
bool | add_pad (const Glib::RefPtr< Gst::Pad >& pad) |
| Adds a pad (link point) to element.
|
|
void | create_all_pads () |
| Creates a pad for each pad template that is always available.
|
|
Glib::RefPtr< Gst::Pad > | create_compatible_pad (const Glib::RefPtr< const Gst::Pad >& pad, const Glib::RefPtr< const Gst::Caps >& caps) |
| Looks for an unlinked pad to which the given pad can link.
|
|
Glib::RefPtr< Gst::PadTemplate > | get_compatible_pad_template (const Glib::RefPtr< const Gst::PadTemplate >& compattempl) |
| Retrieves a pad template from element that is compatible with compattempl.
|
|
Glib::RefPtr< const Gst::PadTemplate > | get_compatible_pad_template (const Glib::RefPtr< const Gst::PadTemplate >& compattempl) const |
| Retrieves a pad template from element that is compatible with compattempl.
|
|
Glib::RefPtr< Gst::Pad > | get_request_pad (const Glib::ustring& name) |
| Retrieves a pad from the element by name (e.g. "src_\\%d").
|
|
Glib::RefPtr< Gst::Pad > | request_pad (const Glib::RefPtr< Gst::PadTemplate >& templ, const Glib::ustring& name, const Glib::RefPtr< const Gst::Caps >& caps) |
| Retrieves a request pad from the element according to the provided template.
|
|
Glib::RefPtr< Gst::Pad > | request_pad (const Glib::RefPtr< Gst::PadTemplate >& templ, const Glib::ustring& name) |
| A request_pad() convenience overload.
|
|
Glib::RefPtr< Gst::Pad > | request_pad (const Glib::RefPtr< Gst::PadTemplate >& templ, const Glib::RefPtr< const Gst::Caps >& caps) |
| A request_pad() convenience overload.
|
|
Glib::RefPtr< Gst::Pad > | request_pad (const Glib::RefPtr< Gst::PadTemplate >& templ) |
| A request_pad() convenience overload.
|
|
Glib::RefPtr< Gst::Pad > | get_static_pad (const Glib::ustring& name) |
| Retrieves a pad from element by name.
|
|
Glib::RefPtr< const Gst::Pad > | get_static_pad (const Glib::ustring& name) const |
| Retrieves a pad from element by name.
|
|
void | no_more_pads () |
| Use this function to signal that the element does not expect any more pads to show up in the current pipeline.
|
|
void | release_request_pad (const Glib::RefPtr< Gst::Pad >& pad) |
| Makes the element free the previously requested pad as obtained with get_request_pad().
|
|
bool | remove_pad (const Glib::RefPtr< Gst::Pad >& pad) |
| Removes pad from element.
|
|
Gst::Iterator< Gst::Pad > | iterate_pads () |
| Retrieves an iterator of element's pads.
|
|
Gst::Iterator< const Gst::Pad > | iterate_pads () const |
| Retrieves an iterator of element's pads.
|
|
Gst::Iterator< Gst::Pad > | iterate_sink_pads () |
| Retrieves an iterator of element's sink pads.
|
|
Gst::Iterator< const Gst::Pad > | iterate_sink_pads () const |
| Retrieves an iterator of element's sink pads.
|
|
Gst::Iterator< Gst::Pad > | iterate_src_pads () |
| Retrieves an iterator of element's source pads.
|
|
Gst::Iterator< const Gst::Pad > | iterate_src_pads () const |
| Retrieves an iterator of element's source pads.
|
|
void | unlink (const Glib::RefPtr< Gst::Element >& dest) |
| Unlinks all source pads of the source element with all sink pads of the sink element to which they are linked.
|
|
void | set_context (const Glib::RefPtr< Gst::Context >& context) |
| Sets the context of the element.
|
|
bool | link_pads (const Glib::ustring& srcpadname, const Glib::RefPtr< Gst::Element >& dest, const Glib::ustring& destpadname) |
| Links the two named pads of the source and destination elements.
|
|
void | unlink_pads (const Glib::ustring& srcpadname, const Glib::RefPtr< Gst::Element >& dest, const Glib::ustring& destpadname) |
| Unlinks the two named pads of the source and destination elements.
|
|
bool | link_pads (const Glib::ustring& srcpadname, const Glib::RefPtr< Gst::Element >& dest, const Glib::ustring& destpadname, const Glib::RefPtr< Gst::Caps >& filter) |
| Links the two named pads of the source and destination elements.
|
|
bool | link_pads (const Glib::ustring& srcpadname, const Glib::RefPtr< Gst::Element >& dest, const Glib::ustring& destpadname, PadLinkCheck flags) |
| Links the two named pads of the source and destination elements.
|
|
Glib::RefPtr< Gst::Element > | link (const Glib::RefPtr< Gst::Element >& dest, const Glib::RefPtr< Gst::Caps >& filter) |
| Links src to dest using the given caps as filtercaps.
|
|
void | set_base_time (ClockTime time) |
| Set the base time of an element.
|
|
ClockTime | get_base_time () const |
| Returns the base time of the element.
|
|
void | set_start_time (Gst::ClockTime time) |
| Set the start time of an element.
|
|
Gst::ClockTime | get_start_time () const |
| Returns the start time of the element.
|
|
void | set_bus (const Glib::RefPtr< Gst::Bus >& bus) |
| Sets the bus of the element.
|
|
Glib::RefPtr< Gst::Bus > | get_bus () |
| Returns the bus of the element.
|
|
Glib::RefPtr< const Gst::Bus > | get_bus () const |
| Returns the bus of the element.
|
|
Glib::RefPtr< Gst::ElementFactory > | get_factory () |
| Retrieves the factory that was used to create this element.
|
|
Glib::RefPtr< const Gst::ElementFactory > | get_factory () const |
| Retrieves the factory that was used to create this element.
|
|
bool | set_clock (const Glib::RefPtr< Gst::Clock >& clock) |
| Sets the clock for the element.
|
|
Glib::RefPtr< Gst::Clock > | get_clock () |
| Gets the currently configured clock of the element.
|
|
Glib::RefPtr< const Gst::Clock > | get_clock () const |
| Gets the currently configured clock of the element.
|
|
Glib::RefPtr< Gst::Clock > | provide_clock () |
| Get the clock provided by the given element.
|
|
Glib::RefPtr< const Gst::Clock > | provide_clock () const |
| Get the clock provided by the given element.
|
|
StateChangeReturn | set_state (State state) |
| Sets the state of the element.
|
|
StateChangeReturn | get_state (State& state, State& pending, ClockTime timeout) const |
| Gets the state of the element.
|
|
bool | set_locked_state (gboolean locked_state) |
| Locks the state of an element, so state changes of the parent don't affect this element anymore.
|
|
bool | is_locked_state () const |
| Checks if the state of an element is locked.
|
|
void | abort_state () |
| Abort the state change of the element.
|
|
StateChangeReturn | continue_state (StateChangeReturn ret) |
| Commit the state change of the element and proceed to the next pending state if any.
|
|
void | lost_state () |
| Brings the element to the lost state.
|
|
bool | sync_state_with_parent () |
| Tries to change the state of the element to the same as its parent.
|
|
StateChangeReturn | change_state (StateChange transition) |
| Perform transition on element.
|
|
void | post_message (int code, int line, MessageType type=Gst::MESSAGE_INFO, const Glib::QueryQuark& domain=get_core_error_quark(), const Glib::ustring& text=Glib::ustring(), const Glib::ustring& debug=Glib::ustring(), const Glib::ustring& file=Glib::ustring(), const Glib::ustring& function=Glib::ustring()) |
| Post an error, warning or info message on the bus from inside an element.
|
|
bool | post_message (Glib::RefPtr< Gst::Message >&& message) |
| Post a message on the element's Gst::Bus.
|
|
bool | query (const Glib::RefPtr< Gst::Query >& query) const |
| Performs a query on the given element.
|
|
bool | query_convert (Gst::Format src_format, gint64 src_val, Format dest_format, gint64& dest_val) const |
| Queries an element to convert src_val in src_format to dest_format.
|
|
bool | query_position (Gst::Format format, gint64& cur) const |
| Queries an element (usually top-level pipeline or playbin element) for the stream position in nanoseconds.
|
|
bool | query_position (Gst::Format format) const |
| A query_position() convenience overload.
|
|
bool | query_duration (Gst::Format format, gint64& duration) const |
| Queries an element (usually top-level pipeline or playbin element) for the total stream duration in nanoseconds.
|
|
bool | query_duration (Gst::Format format) const |
| A query_duration() convenience overload.
|
|
bool | seek (Format format, SeekFlags seek_flags, gint64 seek_pos) |
| Simple API to perform a seek on the given element, meaning it just seeks to the given position relative to the start of the stream.
|
|
bool | seek (double rate, Format format, SeekFlags flags, SeekType cur_type, gint64 cur, SeekType stop_type, gint64 stop) |
| Sends a seek event to an element.
|
|
bool | send_event (Glib::RefPtr< Gst::Event >&& event) |
| Sends an event to an element.
|
|
bool | send_event (const Glib::RefPtr< Gst::Event >& event) |
| A send_event() convenience overload. Allows to re-use event parameter after function call.
|
|
Glib::RefPtr< Gst::Context > | get_context (const Glib::ustring& context_type) |
| Gets the context with context_type set on the element or nullptr .
|
|
Glib::RefPtr< Gst::Context > | get_context_unlocked (const Glib::ustring& context_type) |
| Gets the context with context_type set on the element or nullptr .
|
|
std::vector< Glib::RefPtr< Gst::Context > > | get_contexts () |
| Gets the contexts set on the element.
|
|
Glib::SignalProxy< void > | signal_no_more_pads () |
|
Glib::SignalProxy< void, const Glib::RefPtr< Gst::Pad >& > | signal_pad_added () |
|
Glib::SignalProxy< void, const Glib::RefPtr< Gst::Pad >& > | signal_pad_removed () |
|
virtual void | release_pad_vfunc (const Glib::RefPtr< Gst::Pad >& pad) |
| Called when a request pad is to be released.
|
|
virtual Glib::RefPtr< Gst::Pad > | request_new_pad_vfunc (Glib::RefPtr< Gst::PadTemplate > templ, const Glib::ustring& name, const Glib::RefPtr< const Gst::Caps >& caps) |
| Called when a new pad is requested.
|
|
virtual StateChangeReturn | get_state_vfunc (State& state, State& pending, ClockTime timeout) const |
| Get the state of the element.
|
|
virtual StateChangeReturn | set_state_vfunc (State state) |
| Set a new state on the element.
|
|
virtual StateChangeReturn | change_state_vfunc (StateChange transition) |
| Called by set_state to perform an incremental state change.
|
|
virtual void | state_changed_vfunc (Gst::State oldstate, Gst::State newstate, Gst::State pending) |
| Called immediately after a new state was set.
|
|
virtual void | set_bus_vfunc (const Glib::RefPtr< Gst::Bus >& bus) |
| Set a Gst::Bus on the element.
|
|
virtual Glib::RefPtr< Gst::Clock > | provide_clock_vfunc () |
| Gets the Gst::Clock provided by the element.
|
|
virtual bool | set_clock_vfunc (const Glib::RefPtr< Gst::Clock >& clock) |
| Set the Gst::Clock on the element.
|
|
virtual bool | send_event_vfunc (const Glib::RefPtr< Gst::Event >& event) |
| Send a Gst::Event to the element.
|
|
virtual bool | query_vfunc (const Glib::RefPtr< Gst::Query >&query) const |
| Perform a Gst::Query on the element.
|
|
virtual void | set_context_vfunc (const Glib::RefPtr< Gst::Context >& context) |
| Set a Gst::Context on the element.
|
|
virtual bool | post_message_vfunc (const Glib::RefPtr< Gst::Message >& message) |
| Called when a message is posted on the element.
|
|
Glib::RefPtr< Gst::PadTemplate > | get_pad_template (const Glib::ustring& factory_name) const |
|
template<typename T > |
Glib::RefPtr< Gst::Element > | property (const Glib::ustring& name, const T& value) |
| Sets specified property.
|
|
| Object (Object&& src) noexcept |
|
Object& | operator= (Object&& src) noexcept |
|
| ~Object () noexcept override |
|
GstObject* | gobj () |
| Provides access to the underlying C GObject.
|
|
const GstObject* | gobj () const |
| Provides access to the underlying C GObject.
|
|
GstObject* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
|
bool | is_element () const |
|
bool | is_element_factory () const |
|
bool | is_pad () const |
|
bool | is_pad_template () const |
|
bool | is_bin () const |
|
guint32 | get_flags () const |
| Returns the entire set of flags for the object.
|
|
bool | set_name (const Glib::ustring& name) |
| Sets the name of object, or gives object a guaranteed unique name (if name is nullptr ).
|
|
Glib::ustring | get_name () const |
| Returns a copy of the name of object.
|
|
bool | set_parent (const Glib::RefPtr< Gst::Object >& parent) |
| Sets the parent of object to parent.
|
|
Glib::RefPtr< Gst::Object > | get_parent () |
| Returns the parent of object.
|
|
Glib::RefPtr< const Gst::Object > | get_parent () const |
| Returns the parent of object.
|
|
void | unparent () |
| Clear the parent of object, removing the associated reference.
|
|
void | set_control_rate (Gst::ClockTime control_rate) |
| Change the control-rate for this object.
|
|
Gst::ClockTime | get_control_rate () const |
| Obtain the control-rate for this object.
|
|
Gst::ClockTime | suggest_next_sync () const |
| Returns a suggestion for timestamps where buffers should be split to get best controller results.
|
|
bool | sync_values (Gst::ClockTime timestamp) |
| Sets the properties of the object, according to the Gst::ControlSources that (maybe) handle them and for the given timestamp.
|
|
void | set_control_bindings_disabled (bool disabled) |
| This function is used to disable all controlled properties of the object for some time, i.e. sync_values() will do nothing.
|
|
bool | has_asctive_control_bindings () const |
| Check if the object has an active controlled properties.
|
|
bool | has_ancestor (const Glib::RefPtr< const Gst::Object >& ancestor) const |
| Check if object has an ancestor ancestor somewhere up in the hierarchy.
|
|
bool | has_as_ancestor (const Glib::RefPtr< Gst::Object >& ancestor) const |
| Check if object has an ancestor ancestor somewhere up in the hierarchy.
|
|
bool | has_as_parent (const Glib::RefPtr< Gst::Object >& parent) const |
| Check if parent is the parent of object.
|
|
Glib::ustring | get_path_string () |
| Generates a string describing the path of object in the object hierarchy.
|
|
Glib::PropertyProxy< Glib::ustring > | property_name () |
| The name of the object.
|
|
Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_name () const |
| The name of the object.
|
|
Glib::PropertyProxy< Glib::RefPtr< Gst::Object > > | property_parent () |
| The parent of the object.
|
|
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gst::Object > > | property_parent () const |
| The parent of the object.
|
|
Glib::SignalProxy< void, const Glib::RefPtr< Gst::Object >&, GParamSpec* > | signal_deep_notify () |
|
int | get_refcount () const |
|