2005-03-21 17:34:02 +00:00
|
|
|
/* GStreamer
|
|
|
|
* Copyright (C) 2004 Wim Taymans <wim@fluendo.com>
|
|
|
|
*
|
|
|
|
* gstmessage.h: Header for GstMessage subsystem
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the
|
2012-11-03 20:44:48 +00:00
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
2005-03-21 17:34:02 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __GST_MESSAGE_H__
|
|
|
|
#define __GST_MESSAGE_H__
|
|
|
|
|
2017-01-11 20:25:08 +00:00
|
|
|
#include <glib.h>
|
|
|
|
|
2005-08-25 10:35:46 +00:00
|
|
|
G_BEGIN_DECLS
|
2005-03-21 17:34:02 +00:00
|
|
|
|
2005-07-18 12:49:53 +00:00
|
|
|
typedef struct _GstMessage GstMessage;
|
|
|
|
|
2005-03-21 17:34:02 +00:00
|
|
|
/**
|
|
|
|
* GstMessageType:
|
|
|
|
* @GST_MESSAGE_UNKNOWN: an undefined message
|
2007-05-21 12:05:14 +00:00
|
|
|
* @GST_MESSAGE_EOS: end-of-stream reached in a pipeline. The application will
|
|
|
|
* only receive this message in the PLAYING state and every time it sets a
|
|
|
|
* pipeline to PLAYING that is in the EOS state. The application can perform a
|
2009-10-07 08:37:39 +00:00
|
|
|
* flushing seek in the pipeline, which will undo the EOS state again.
|
2013-12-07 14:38:19 +00:00
|
|
|
* @GST_MESSAGE_ERROR: an error occurred. When the application receives an error
|
2007-05-21 12:05:14 +00:00
|
|
|
* message it should stop playback of the pipeline and not assume that more
|
2019-09-03 21:14:49 +00:00
|
|
|
* data will be played. It is possible to specify a redirection url to the error
|
|
|
|
* messages by setting a `redirect-location` field into the error message, application
|
|
|
|
* or high level bins might use the information as required.
|
2013-12-07 14:38:19 +00:00
|
|
|
* @GST_MESSAGE_WARNING: a warning occurred.
|
|
|
|
* @GST_MESSAGE_INFO: an info message occurred
|
2005-03-21 17:34:02 +00:00
|
|
|
* @GST_MESSAGE_TAG: a tag was found.
|
2007-05-21 12:05:14 +00:00
|
|
|
* @GST_MESSAGE_BUFFERING: the pipeline is buffering. When the application
|
|
|
|
* receives a buffering message in the PLAYING state for a non-live pipeline it
|
|
|
|
* must PAUSE the pipeline until the buffering completes, when the percentage
|
|
|
|
* field in the message is 100%. For live pipelines, no action must be
|
2007-08-16 10:07:48 +00:00
|
|
|
* performed and the buffering percentage can be used to inform the user about
|
2007-05-21 12:05:14 +00:00
|
|
|
* the progress.
|
2005-03-21 17:34:02 +00:00
|
|
|
* @GST_MESSAGE_STATE_CHANGED: a state change happened
|
2007-05-21 12:05:14 +00:00
|
|
|
* @GST_MESSAGE_STATE_DIRTY: an element changed state in a streaming thread.
|
|
|
|
* This message is deprecated.
|
2010-01-15 17:36:07 +00:00
|
|
|
* @GST_MESSAGE_STEP_DONE: a stepping operation finished.
|
2005-10-11 15:05:55 +00:00
|
|
|
* @GST_MESSAGE_CLOCK_PROVIDE: an element notifies its capability of providing
|
2007-08-16 10:07:48 +00:00
|
|
|
* a clock. This message is used internally and
|
|
|
|
* never forwarded to the application.
|
gst/gstmessage.*: Clean up.
Original commit message from CVS:
* gst/gstmessage.c: (gst_message_new_custom),
(gst_message_new_eos), (gst_message_new_error),
(gst_message_new_warning), (gst_message_new_tag),
(gst_message_new_state_changed), (gst_message_new_clock_provide),
(gst_message_new_new_clock), (gst_message_new_segment_start),
(gst_message_new_segment_done), (gst_message_parse_state_changed),
(gst_message_parse_clock_provide), (gst_message_parse_new_clock):
* gst/gstmessage.h:
Clean up.
Added clock related messages.
* gst/gstpipeline.c: (gst_pipeline_change_state):
Post message when the clock changed.
* tools/gst-launch.c: (event_loop):
Print new clock.
2005-10-08 12:36:36 +00:00
|
|
|
* @GST_MESSAGE_CLOCK_LOST: The current clock as selected by the pipeline became
|
2005-10-09 17:53:33 +00:00
|
|
|
* unusable. The pipeline will select a new clock on
|
2010-01-15 17:36:07 +00:00
|
|
|
* the next PLAYING state change. The application
|
|
|
|
* should set the pipeline to PAUSED and back to
|
|
|
|
* PLAYING when this message is received.
|
2007-05-21 12:05:14 +00:00
|
|
|
* @GST_MESSAGE_NEW_CLOCK: a new clock was selected in the pipeline.
|
2008-10-06 15:31:49 +00:00
|
|
|
* @GST_MESSAGE_STRUCTURE_CHANGE: the structure of the pipeline changed. This
|
|
|
|
* message is used internally and never forwarded to the application.
|
2005-06-24 18:16:14 +00:00
|
|
|
* @GST_MESSAGE_STREAM_STATUS: status about a stream, emitted when it starts,
|
2009-09-14 11:07:55 +00:00
|
|
|
* stops, errors, etc..
|
2005-03-21 17:34:02 +00:00
|
|
|
* @GST_MESSAGE_APPLICATION: message posted by the application, possibly
|
|
|
|
* via an application-specific element.
|
2005-10-07 16:13:51 +00:00
|
|
|
* @GST_MESSAGE_ELEMENT: element-specific message, see the specific element's
|
|
|
|
* documentation
|
2007-08-16 10:07:48 +00:00
|
|
|
* @GST_MESSAGE_SEGMENT_START: pipeline started playback of a segment. This
|
|
|
|
* message is used internally and never forwarded to the application.
|
|
|
|
* @GST_MESSAGE_SEGMENT_DONE: pipeline completed playback of a segment. This
|
|
|
|
* message is forwarded to the application after all elements that posted
|
|
|
|
* @GST_MESSAGE_SEGMENT_START posted a GST_MESSAGE_SEGMENT_DONE message.
|
2012-09-02 00:17:44 +00:00
|
|
|
* @GST_MESSAGE_DURATION_CHANGED: The duration of a pipeline changed. The
|
|
|
|
* application can get the new duration with a duration query.
|
2011-05-28 06:51:45 +00:00
|
|
|
* @GST_MESSAGE_ASYNC_START: Posted by elements when they start an ASYNC
|
|
|
|
* #GstStateChange. This message is not forwarded to the application but is used
|
2012-07-10 09:46:41 +00:00
|
|
|
* internally.
|
2011-05-28 06:51:45 +00:00
|
|
|
* @GST_MESSAGE_ASYNC_DONE: Posted by elements when they complete an ASYNC
|
|
|
|
* #GstStateChange. The application will only receive this message from the toplevel
|
2012-07-10 09:46:41 +00:00
|
|
|
* pipeline.
|
2007-02-02 11:48:48 +00:00
|
|
|
* @GST_MESSAGE_LATENCY: Posted by elements when their latency changes. The
|
2012-07-10 09:46:41 +00:00
|
|
|
* application should recalculate and distribute a new latency.
|
2009-02-18 14:31:55 +00:00
|
|
|
* @GST_MESSAGE_REQUEST_STATE: Posted by elements when they want the pipeline to
|
|
|
|
* change state. This message is a suggestion to the application which can
|
2012-07-10 09:46:41 +00:00
|
|
|
* decide to perform the state change on (part of) the pipeline.
|
|
|
|
* @GST_MESSAGE_STEP_START: A stepping operation was started.
|
2010-03-17 18:16:42 +00:00
|
|
|
* @GST_MESSAGE_QOS: A buffer was dropped or an element changed its processing
|
2012-07-10 09:46:41 +00:00
|
|
|
* strategy for Quality of Service reasons.
|
|
|
|
* @GST_MESSAGE_PROGRESS: A progress message.
|
2012-03-14 16:41:48 +00:00
|
|
|
* @GST_MESSAGE_TOC: A new table of contents (TOC) was found or previously found TOC
|
2012-08-11 21:19:32 +00:00
|
|
|
* was updated.
|
|
|
|
* @GST_MESSAGE_RESET_TIME: Message to request resetting the pipeline's
|
|
|
|
* running time from the pipeline. This is an internal message which
|
|
|
|
* applications will likely never receive.
|
|
|
|
* @GST_MESSAGE_STREAM_START: Message indicating start of a new stream. Useful
|
|
|
|
* e.g. when using playbin in gapless playback mode, to get notified when
|
|
|
|
* the next title actually starts playing (which will be some time after
|
|
|
|
* the URI for the next title has been set).
|
2019-04-23 12:08:18 +00:00
|
|
|
* @GST_MESSAGE_NEED_CONTEXT: Message indicating that an element wants a specific context (Since: 1.2)
|
|
|
|
* @GST_MESSAGE_HAVE_CONTEXT: Message indicating that an element created a context (Since: 1.2)
|
2014-03-16 14:08:00 +00:00
|
|
|
* @GST_MESSAGE_EXTENDED: Message is an extended message type (see below).
|
|
|
|
* These extended message IDs can't be used directly with mask-based API
|
|
|
|
* like gst_bus_poll() or gst_bus_timed_pop_filtered(), but you can still
|
|
|
|
* filter for GST_MESSAGE_EXTENDED and then check the result for the
|
2019-04-23 12:08:18 +00:00
|
|
|
* specific type. (Since: 1.4)
|
2014-03-16 14:08:00 +00:00
|
|
|
* @GST_MESSAGE_DEVICE_ADDED: Message indicating a #GstDevice was added to
|
2019-04-23 12:08:18 +00:00
|
|
|
* a #GstDeviceProvider (Since: 1.4)
|
2014-03-16 14:08:00 +00:00
|
|
|
* @GST_MESSAGE_DEVICE_REMOVED: Message indicating a #GstDevice was removed
|
2019-04-23 12:08:18 +00:00
|
|
|
* from a #GstDeviceProvider (Since: 1.4)
|
2016-03-05 14:12:36 +00:00
|
|
|
* @GST_MESSAGE_PROPERTY_NOTIFY: Message indicating a #GObject property has
|
2019-04-23 12:08:18 +00:00
|
|
|
* changed (Since: 1.10)
|
2015-06-12 08:53:23 +00:00
|
|
|
* @GST_MESSAGE_STREAM_COLLECTION: Message indicating a new #GstStreamCollection
|
2019-04-23 12:08:18 +00:00
|
|
|
* is available (Since: 1.10)
|
2015-06-12 08:53:23 +00:00
|
|
|
* @GST_MESSAGE_STREAMS_SELECTED: Message indicating the active selection of
|
2019-04-23 12:08:18 +00:00
|
|
|
* #GstStreams has changed (Since: 1.10)
|
2016-07-25 09:22:36 +00:00
|
|
|
* @GST_MESSAGE_REDIRECT: Message indicating to request the application to
|
|
|
|
* try to play the given URL(s). Useful if for example a HTTP 302/303
|
2019-04-23 12:08:18 +00:00
|
|
|
* response is received with a non-HTTP URL inside. (Since: 1.10)
|
2019-01-30 13:41:58 +00:00
|
|
|
* @GST_MESSAGE_DEVICE_CHANGED: Message indicating a #GstDevice was changed
|
2019-04-23 12:08:18 +00:00
|
|
|
* a #GstDeviceProvider (Since: 1.16)
|
2018-05-14 20:14:24 +00:00
|
|
|
* @GST_MESSAGE_INSTANT_RATE_REQUEST: Message sent by elements to request the
|
|
|
|
* running time from the pipeline when an instant rate change should
|
|
|
|
* be applied (which may be in the past when the answer arrives). (Since: 1.18)
|
2005-03-21 17:34:02 +00:00
|
|
|
* @GST_MESSAGE_ANY: mask for all of the above messages.
|
2005-10-21 11:36:32 +00:00
|
|
|
*
|
2014-03-16 14:08:00 +00:00
|
|
|
* The different message types that are available.
|
2005-03-21 17:34:02 +00:00
|
|
|
*/
|
2009-10-07 08:37:39 +00:00
|
|
|
/* NOTE: keep in sync with quark registration in gstmessage.c
|
2006-07-06 16:17:20 +00:00
|
|
|
* NOTE: keep GST_MESSAGE_ANY a valid gint to avoid compiler warnings.
|
2009-10-07 08:37:39 +00:00
|
|
|
*/
|
2013-08-14 19:56:11 +00:00
|
|
|
/* FIXME: 2.0: Make it NOT flags, just a regular 1,2,3,4.. enumeration */
|
2014-07-03 08:11:02 +00:00
|
|
|
/* FIXME: For GST_MESSAGE_ANY ~0 -> 0xffffffff see
|
|
|
|
* https://bugzilla.gnome.org/show_bug.cgi?id=732633
|
|
|
|
*/
|
2005-08-25 10:35:46 +00:00
|
|
|
typedef enum
|
2005-03-21 17:34:02 +00:00
|
|
|
{
|
|
|
|
GST_MESSAGE_UNKNOWN = 0,
|
|
|
|
GST_MESSAGE_EOS = (1 << 0),
|
|
|
|
GST_MESSAGE_ERROR = (1 << 1),
|
|
|
|
GST_MESSAGE_WARNING = (1 << 2),
|
|
|
|
GST_MESSAGE_INFO = (1 << 3),
|
|
|
|
GST_MESSAGE_TAG = (1 << 4),
|
|
|
|
GST_MESSAGE_BUFFERING = (1 << 5),
|
|
|
|
GST_MESSAGE_STATE_CHANGED = (1 << 6),
|
Seriously, this is better than a previous commit as we only need to notify the fact that an element changed state in ...
Original commit message from CVS:
* check/gst/gstbin.c: (GST_START_TEST):
* check/gst/gstmessage.c: (GST_START_TEST):
* check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
(bin_bus_handler):
* gst/gstelement.c: (gst_element_abort_state),
(gst_element_commit_state), (gst_element_lost_state):
* gst/gstmessage.c: (gst_message_new_state_changed),
(gst_message_new_state_dirty), (gst_message_new_segment_start),
(gst_message_new_segment_done), (gst_message_new_duration),
(gst_message_parse_state_changed),
(gst_message_parse_segment_start),
(gst_message_parse_segment_done), (gst_message_parse_duration):
* gst/gstmessage.h:
* tools/gst-launch.c: (event_loop):
Seriously, this is better than a previous commit as we only need
to notify the fact that an element changed state in a streaming
thread, marking the state of the parents dirty, hence the
STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
message.
2005-10-18 16:25:38 +00:00
|
|
|
GST_MESSAGE_STATE_DIRTY = (1 << 7),
|
|
|
|
GST_MESSAGE_STEP_DONE = (1 << 8),
|
|
|
|
GST_MESSAGE_CLOCK_PROVIDE = (1 << 9),
|
|
|
|
GST_MESSAGE_CLOCK_LOST = (1 << 10),
|
|
|
|
GST_MESSAGE_NEW_CLOCK = (1 << 11),
|
|
|
|
GST_MESSAGE_STRUCTURE_CHANGE = (1 << 12),
|
|
|
|
GST_MESSAGE_STREAM_STATUS = (1 << 13),
|
|
|
|
GST_MESSAGE_APPLICATION = (1 << 14),
|
|
|
|
GST_MESSAGE_ELEMENT = (1 << 15),
|
|
|
|
GST_MESSAGE_SEGMENT_START = (1 << 16),
|
|
|
|
GST_MESSAGE_SEGMENT_DONE = (1 << 17),
|
2012-09-02 00:17:44 +00:00
|
|
|
GST_MESSAGE_DURATION_CHANGED = (1 << 18),
|
2007-02-21 12:01:41 +00:00
|
|
|
GST_MESSAGE_LATENCY = (1 << 19),
|
2007-03-19 09:55:02 +00:00
|
|
|
GST_MESSAGE_ASYNC_START = (1 << 20),
|
|
|
|
GST_MESSAGE_ASYNC_DONE = (1 << 21),
|
2009-02-18 14:31:55 +00:00
|
|
|
GST_MESSAGE_REQUEST_STATE = (1 << 22),
|
2009-06-10 13:48:35 +00:00
|
|
|
GST_MESSAGE_STEP_START = (1 << 23),
|
2010-03-17 18:16:42 +00:00
|
|
|
GST_MESSAGE_QOS = (1 << 24),
|
2011-01-05 12:41:08 +00:00
|
|
|
GST_MESSAGE_PROGRESS = (1 << 25),
|
2012-03-14 16:41:48 +00:00
|
|
|
GST_MESSAGE_TOC = (1 << 26),
|
2012-06-13 08:16:27 +00:00
|
|
|
GST_MESSAGE_RESET_TIME = (1 << 27),
|
2012-07-09 18:08:15 +00:00
|
|
|
GST_MESSAGE_STREAM_START = (1 << 28),
|
2013-03-28 14:35:13 +00:00
|
|
|
GST_MESSAGE_NEED_CONTEXT = (1 << 29),
|
|
|
|
GST_MESSAGE_HAVE_CONTEXT = (1 << 30),
|
2016-06-21 13:00:30 +00:00
|
|
|
GST_MESSAGE_EXTENDED = (gint) (1u << 31),
|
2014-03-16 14:08:00 +00:00
|
|
|
GST_MESSAGE_DEVICE_ADDED = GST_MESSAGE_EXTENDED + 1,
|
|
|
|
GST_MESSAGE_DEVICE_REMOVED = GST_MESSAGE_EXTENDED + 2,
|
2016-03-05 14:12:36 +00:00
|
|
|
GST_MESSAGE_PROPERTY_NOTIFY = GST_MESSAGE_EXTENDED + 3,
|
2015-06-12 08:53:23 +00:00
|
|
|
GST_MESSAGE_STREAM_COLLECTION = GST_MESSAGE_EXTENDED + 4,
|
|
|
|
GST_MESSAGE_STREAMS_SELECTED = GST_MESSAGE_EXTENDED + 5,
|
2016-07-25 09:22:36 +00:00
|
|
|
GST_MESSAGE_REDIRECT = GST_MESSAGE_EXTENDED + 6,
|
2019-08-05 23:05:22 +00:00
|
|
|
GST_MESSAGE_DEVICE_CHANGED = GST_MESSAGE_EXTENDED + 7,
|
2018-05-14 20:14:24 +00:00
|
|
|
GST_MESSAGE_INSTANT_RATE_REQUEST = GST_MESSAGE_EXTENDED + 8,
|
2014-07-03 08:11:02 +00:00
|
|
|
GST_MESSAGE_ANY = (gint) (0xffffffff)
|
2005-03-21 17:34:02 +00:00
|
|
|
} GstMessageType;
|
|
|
|
|
2005-07-18 12:49:53 +00:00
|
|
|
#include <gst/gstminiobject.h>
|
|
|
|
#include <gst/gstobject.h>
|
|
|
|
#include <gst/gstelement.h>
|
2005-09-07 13:22:16 +00:00
|
|
|
#include <gst/gsttaglist.h>
|
2005-07-18 12:49:53 +00:00
|
|
|
#include <gst/gststructure.h>
|
2011-06-07 11:25:26 +00:00
|
|
|
#include <gst/gstquery.h>
|
2012-03-14 16:41:48 +00:00
|
|
|
#include <gst/gsttoc.h>
|
2012-10-16 16:27:04 +00:00
|
|
|
#include <gst/gstdevice.h>
|
2017-01-11 20:25:08 +00:00
|
|
|
#include <gst/gststreams.h>
|
2015-06-12 08:53:23 +00:00
|
|
|
#include <gst/gststreamcollection.h>
|
2005-03-21 17:34:02 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API GType _gst_message_type;
|
2014-06-19 06:05:03 +00:00
|
|
|
|
|
|
|
#define GST_TYPE_MESSAGE (_gst_message_type)
|
2009-12-07 19:32:12 +00:00
|
|
|
#define GST_IS_MESSAGE(obj) (GST_IS_MINI_OBJECT_TYPE (obj, GST_TYPE_MESSAGE))
|
2005-11-09 16:00:05 +00:00
|
|
|
#define GST_MESSAGE_CAST(obj) ((GstMessage*)(obj))
|
2009-11-28 23:21:24 +00:00
|
|
|
#define GST_MESSAGE(obj) (GST_MESSAGE_CAST(obj))
|
2005-03-21 17:34:02 +00:00
|
|
|
|
|
|
|
/* the lock is used to handle the synchronous handling of messages,
|
2018-04-27 16:40:31 +00:00
|
|
|
* the emitting thread is blocked until the handling thread processed
|
2005-03-21 17:34:02 +00:00
|
|
|
* the message using this mutex/cond pair */
|
2012-01-19 08:27:04 +00:00
|
|
|
#define GST_MESSAGE_GET_LOCK(message) (&GST_MESSAGE_CAST(message)->lock)
|
2009-10-07 08:37:39 +00:00
|
|
|
#define GST_MESSAGE_LOCK(message) g_mutex_lock(GST_MESSAGE_GET_LOCK(message))
|
|
|
|
#define GST_MESSAGE_UNLOCK(message) g_mutex_unlock(GST_MESSAGE_GET_LOCK(message))
|
2012-01-19 08:27:04 +00:00
|
|
|
#define GST_MESSAGE_GET_COND(message) (&GST_MESSAGE_CAST(message)->cond)
|
|
|
|
#define GST_MESSAGE_WAIT(message) g_cond_wait(GST_MESSAGE_GET_COND(message),GST_MESSAGE_GET_LOCK(message))
|
|
|
|
#define GST_MESSAGE_SIGNAL(message) g_cond_signal(GST_MESSAGE_GET_COND(message))
|
2005-03-21 17:34:02 +00:00
|
|
|
|
2005-11-09 16:00:05 +00:00
|
|
|
/**
|
|
|
|
* GST_MESSAGE_TYPE:
|
|
|
|
* @message: a #GstMessage
|
|
|
|
*
|
|
|
|
* Get the #GstMessageType of @message.
|
|
|
|
*/
|
2009-10-23 17:19:04 +00:00
|
|
|
#define GST_MESSAGE_TYPE(message) (GST_MESSAGE_CAST(message)->type)
|
2014-03-16 19:29:27 +00:00
|
|
|
/**
|
|
|
|
* GST_MESSAGE_TYPE_IS_EXTENDED:
|
|
|
|
* @message: a #GstMessage
|
|
|
|
*
|
|
|
|
* Check if the message is in the extended message group
|
2015-06-14 00:19:59 +00:00
|
|
|
* Since: 1.4
|
2014-03-16 19:29:27 +00:00
|
|
|
*/
|
|
|
|
#define GST_MESSAGE_TYPE_IS_EXTENDED(message) (!!(GST_MESSAGE_CAST(message)->type & GST_MESSAGE_EXTENDED))
|
|
|
|
|
2006-02-13 11:19:32 +00:00
|
|
|
/**
|
|
|
|
* GST_MESSAGE_TYPE_NAME:
|
|
|
|
* @message: a #GstMessage
|
|
|
|
*
|
|
|
|
* Get a constant string representation of the #GstMessageType of @message.
|
|
|
|
*/
|
2009-10-07 08:37:39 +00:00
|
|
|
#define GST_MESSAGE_TYPE_NAME(message) gst_message_type_get_name(GST_MESSAGE_TYPE(message))
|
2005-11-09 16:00:05 +00:00
|
|
|
/**
|
|
|
|
* GST_MESSAGE_TIMESTAMP:
|
|
|
|
* @message: a #GstMessage
|
|
|
|
*
|
|
|
|
* Get the timestamp of @message. This is the timestamp when the message
|
|
|
|
* was created.
|
|
|
|
*/
|
2009-10-23 17:19:04 +00:00
|
|
|
#define GST_MESSAGE_TIMESTAMP(message) (GST_MESSAGE_CAST(message)->timestamp)
|
2005-11-09 16:00:05 +00:00
|
|
|
/**
|
|
|
|
* GST_MESSAGE_SRC:
|
|
|
|
* @message: a #GstMessage
|
|
|
|
*
|
|
|
|
* Get the object that posted @message.
|
|
|
|
*/
|
2009-10-23 17:19:04 +00:00
|
|
|
#define GST_MESSAGE_SRC(message) (GST_MESSAGE_CAST(message)->src)
|
2011-02-22 15:04:12 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GST_MESSAGE_SEQNUM:
|
|
|
|
* @message: a #GstMessage
|
|
|
|
*
|
|
|
|
* Get the sequence number of @message.
|
|
|
|
*/
|
|
|
|
#define GST_MESSAGE_SEQNUM(message) (GST_MESSAGE_CAST(message)->seqnum)
|
|
|
|
|
2009-06-03 20:10:39 +00:00
|
|
|
/**
|
|
|
|
* GST_MESSAGE_SRC_NAME:
|
|
|
|
* @message: a #GstMessage
|
|
|
|
*
|
|
|
|
* Get the name of the object that posted @message. Returns "(NULL)" if
|
|
|
|
* the message has no source object set.
|
|
|
|
*/
|
2009-10-07 08:37:39 +00:00
|
|
|
#define GST_MESSAGE_SRC_NAME(message) (GST_MESSAGE_SRC(message) ? \
|
2009-06-03 20:10:39 +00:00
|
|
|
GST_OBJECT_NAME (GST_MESSAGE_SRC(message)) : "(NULL)")
|
2005-03-21 17:34:02 +00:00
|
|
|
|
2008-10-06 15:31:49 +00:00
|
|
|
/**
|
|
|
|
* GstStructureChangeType:
|
|
|
|
* @GST_STRUCTURE_CHANGE_TYPE_PAD_LINK: Pad linking is starting or done.
|
|
|
|
* @GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK: Pad unlinking is starting or done.
|
|
|
|
*
|
2009-11-25 14:44:05 +00:00
|
|
|
* The type of a %GST_MESSAGE_STRUCTURE_CHANGE.
|
2008-10-06 15:31:49 +00:00
|
|
|
*/
|
|
|
|
typedef enum {
|
|
|
|
GST_STRUCTURE_CHANGE_TYPE_PAD_LINK = 0,
|
|
|
|
GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK = 1
|
|
|
|
} GstStructureChangeType;
|
|
|
|
|
2009-04-21 11:42:01 +00:00
|
|
|
/**
|
|
|
|
* GstStreamStatusType:
|
|
|
|
* @GST_STREAM_STATUS_TYPE_CREATE: A new thread need to be created.
|
|
|
|
* @GST_STREAM_STATUS_TYPE_ENTER: a thread entered its loop function
|
|
|
|
* @GST_STREAM_STATUS_TYPE_LEAVE: a thread left its loop function
|
|
|
|
* @GST_STREAM_STATUS_TYPE_DESTROY: a thread is destroyed
|
|
|
|
* @GST_STREAM_STATUS_TYPE_START: a thread is started
|
|
|
|
* @GST_STREAM_STATUS_TYPE_PAUSE: a thread is paused
|
|
|
|
* @GST_STREAM_STATUS_TYPE_STOP: a thread is stopped
|
|
|
|
*
|
2009-11-25 14:44:05 +00:00
|
|
|
* The type of a %GST_MESSAGE_STREAM_STATUS. The stream status messages inform the
|
2009-04-21 11:42:01 +00:00
|
|
|
* application of new streaming threads and their status.
|
|
|
|
*/
|
|
|
|
typedef enum {
|
|
|
|
GST_STREAM_STATUS_TYPE_CREATE = 0,
|
|
|
|
GST_STREAM_STATUS_TYPE_ENTER = 1,
|
|
|
|
GST_STREAM_STATUS_TYPE_LEAVE = 2,
|
|
|
|
GST_STREAM_STATUS_TYPE_DESTROY = 3,
|
|
|
|
|
|
|
|
GST_STREAM_STATUS_TYPE_START = 8,
|
|
|
|
GST_STREAM_STATUS_TYPE_PAUSE = 9,
|
|
|
|
GST_STREAM_STATUS_TYPE_STOP = 10
|
|
|
|
} GstStreamStatusType;
|
|
|
|
|
2011-01-05 12:41:08 +00:00
|
|
|
/**
|
|
|
|
* GstProgressType:
|
|
|
|
* @GST_PROGRESS_TYPE_START: A new task started.
|
|
|
|
* @GST_PROGRESS_TYPE_CONTINUE: A task completed and a new one continues.
|
|
|
|
* @GST_PROGRESS_TYPE_COMPLETE: A task completed.
|
|
|
|
* @GST_PROGRESS_TYPE_CANCELED: A task was canceled.
|
|
|
|
* @GST_PROGRESS_TYPE_ERROR: A task caused an error. An error message is also
|
|
|
|
* posted on the bus.
|
|
|
|
*
|
|
|
|
* The type of a %GST_MESSAGE_PROGRESS. The progress messages inform the
|
2013-12-07 14:38:19 +00:00
|
|
|
* application of the status of asynchronous tasks.
|
2011-01-05 12:41:08 +00:00
|
|
|
*/
|
|
|
|
typedef enum {
|
|
|
|
GST_PROGRESS_TYPE_START = 0,
|
|
|
|
GST_PROGRESS_TYPE_CONTINUE = 1,
|
|
|
|
GST_PROGRESS_TYPE_COMPLETE = 2,
|
|
|
|
GST_PROGRESS_TYPE_CANCELED = 3,
|
2012-04-23 07:18:48 +00:00
|
|
|
GST_PROGRESS_TYPE_ERROR = 4
|
2011-01-05 12:41:08 +00:00
|
|
|
} GstProgressType;
|
|
|
|
|
2005-11-09 16:00:05 +00:00
|
|
|
/**
|
|
|
|
* GstMessage:
|
|
|
|
* @mini_object: the parent structure
|
|
|
|
* @type: the #GstMessageType of the message
|
|
|
|
* @timestamp: the timestamp of the message
|
|
|
|
* @src: the src of the message
|
2011-09-26 18:47:35 +00:00
|
|
|
* @seqnum: the sequence number of the message
|
2005-11-09 16:00:05 +00:00
|
|
|
*
|
2006-07-02 21:52:57 +00:00
|
|
|
* A #GstMessage.
|
2005-11-09 16:00:05 +00:00
|
|
|
*/
|
2005-03-21 17:34:02 +00:00
|
|
|
struct _GstMessage
|
|
|
|
{
|
2012-01-19 08:27:04 +00:00
|
|
|
GstMiniObject mini_object;
|
2005-03-21 17:34:02 +00:00
|
|
|
|
|
|
|
/*< public > *//* with COW */
|
2012-01-19 08:27:04 +00:00
|
|
|
GstMessageType type;
|
|
|
|
guint64 timestamp;
|
|
|
|
GstObject *src;
|
|
|
|
guint32 seqnum;
|
2005-03-21 17:34:02 +00:00
|
|
|
|
2011-05-10 11:34:10 +00:00
|
|
|
/*< private >*//* with MESSAGE_LOCK */
|
2012-01-19 08:27:04 +00:00
|
|
|
GMutex lock; /* lock and cond for async delivery */
|
|
|
|
GCond cond;
|
2005-03-21 17:34:02 +00:00
|
|
|
};
|
|
|
|
|
2017-01-11 20:25:08 +00:00
|
|
|
#include <gst/gstquery.h>
|
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-10-07 08:37:39 +00:00
|
|
|
GType gst_message_get_type (void);
|
2005-03-21 17:34:02 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-10-07 08:37:39 +00:00
|
|
|
const gchar* gst_message_type_get_name (GstMessageType type);
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-10-07 08:37:39 +00:00
|
|
|
GQuark gst_message_type_to_quark (GstMessageType type);
|
2005-09-28 16:43:20 +00:00
|
|
|
|
2021-01-08 11:23:23 +00:00
|
|
|
#ifndef GST_DISABLE_MINIOBJECT_INLINE_FUNCTIONS
|
2005-03-21 17:34:02 +00:00
|
|
|
/* refcounting */
|
2006-03-21 13:50:52 +00:00
|
|
|
static inline GstMessage *
|
|
|
|
gst_message_ref (GstMessage * msg)
|
|
|
|
{
|
2009-12-07 19:52:22 +00:00
|
|
|
return (GstMessage *) gst_mini_object_ref (GST_MINI_OBJECT_CAST (msg));
|
2006-03-21 13:50:52 +00:00
|
|
|
}
|
|
|
|
|
2009-02-22 17:51:08 +00:00
|
|
|
static inline void
|
|
|
|
gst_message_unref (GstMessage * msg)
|
|
|
|
{
|
|
|
|
gst_mini_object_unref (GST_MINI_OBJECT_CAST (msg));
|
|
|
|
}
|
|
|
|
|
2018-11-04 17:54:44 +00:00
|
|
|
static inline void
|
|
|
|
gst_clear_message (GstMessage ** msg_ptr)
|
|
|
|
{
|
2018-11-05 13:03:51 +00:00
|
|
|
gst_clear_mini_object ((GstMiniObject **) msg_ptr);
|
2018-11-04 17:54:44 +00:00
|
|
|
}
|
|
|
|
|
2005-03-21 17:34:02 +00:00
|
|
|
/* copy message */
|
2018-08-19 22:41:41 +00:00
|
|
|
static inline GstMessage * gst_message_copy (const GstMessage * msg);
|
2009-02-22 17:51:08 +00:00
|
|
|
static inline GstMessage *
|
|
|
|
gst_message_copy (const GstMessage * msg)
|
|
|
|
{
|
2010-09-01 23:01:25 +00:00
|
|
|
return GST_MESSAGE_CAST (gst_mini_object_copy (GST_MINI_OBJECT_CONST_CAST (msg)));
|
2009-02-22 17:51:08 +00:00
|
|
|
}
|
2021-01-08 11:23:23 +00:00
|
|
|
#else /* GST_DISABLE_MINIOBJECT_INLINE_FUNCTIONS */
|
|
|
|
GST_API
|
|
|
|
GstMessage * gst_message_ref (GstMessage * msg);
|
|
|
|
|
|
|
|
GST_API
|
|
|
|
void gst_message_unref (GstMessage * msg);
|
|
|
|
|
|
|
|
GST_API
|
|
|
|
void gst_clear_message (GstMessage ** msg_ptr);
|
|
|
|
|
|
|
|
GST_API
|
|
|
|
GstMessage * gst_message_copy (const GstMessage * msg);
|
|
|
|
#endif /* GST_DISABLE_MINIOBJECT_INLINE_FUNCTIONS */
|
2009-02-22 17:51:08 +00:00
|
|
|
|
2011-05-10 11:34:10 +00:00
|
|
|
/**
|
|
|
|
* gst_message_is_writable:
|
|
|
|
* @msg: a #GstMessage
|
|
|
|
*
|
|
|
|
* Tests if you can safely write into a message's structure or validly
|
|
|
|
* modify the seqnum and timestamp fields.
|
|
|
|
*/
|
|
|
|
#define gst_message_is_writable(msg) gst_mini_object_is_writable (GST_MINI_OBJECT_CAST (msg))
|
2005-10-08 14:48:17 +00:00
|
|
|
/**
|
|
|
|
* gst_message_make_writable:
|
2010-12-07 18:35:04 +00:00
|
|
|
* @msg: (transfer full): the message to make writable
|
2005-10-08 14:48:17 +00:00
|
|
|
*
|
|
|
|
* Checks if a message is writable. If not, a writable copy is made and
|
2010-12-07 18:35:04 +00:00
|
|
|
* returned.
|
|
|
|
*
|
|
|
|
* Returns: (transfer full): a message (possibly a duplicate) that is writable.
|
2005-10-08 14:48:17 +00:00
|
|
|
*
|
|
|
|
* MT safe
|
|
|
|
*/
|
2009-12-07 19:52:22 +00:00
|
|
|
#define gst_message_make_writable(msg) GST_MESSAGE_CAST (gst_mini_object_make_writable (GST_MINI_OBJECT_CAST (msg)))
|
2021-01-08 11:23:23 +00:00
|
|
|
|
|
|
|
#ifndef GST_DISABLE_MINIOBJECT_INLINE_FUNCTIONS
|
2018-08-19 22:41:41 +00:00
|
|
|
static inline gboolean gst_message_replace (GstMessage **old_message, GstMessage *new_message);
|
2011-12-05 10:07:24 +00:00
|
|
|
static inline gboolean
|
|
|
|
gst_message_replace (GstMessage **old_message, GstMessage *new_message)
|
|
|
|
{
|
|
|
|
return gst_mini_object_replace ((GstMiniObject **) old_message, (GstMiniObject *) new_message);
|
|
|
|
}
|
2011-05-10 11:34:10 +00:00
|
|
|
|
2018-11-05 07:57:16 +00:00
|
|
|
static inline gboolean
|
|
|
|
gst_message_take (GstMessage **old_message, GstMessage *new_message)
|
|
|
|
{
|
|
|
|
return gst_mini_object_take ((GstMiniObject **) old_message,
|
|
|
|
(GstMiniObject *) new_message);
|
|
|
|
}
|
2021-01-08 11:23:23 +00:00
|
|
|
#else /* GST_DISABLE_MINIOBJECT_INLINE_FUNCTIONS */
|
|
|
|
GST_API
|
|
|
|
gboolean gst_message_replace (GstMessage ** old_message,
|
|
|
|
GstMessage * new_message);
|
2018-11-05 07:57:16 +00:00
|
|
|
|
2021-01-08 11:23:23 +00:00
|
|
|
GST_API
|
|
|
|
gboolean gst_message_take (GstMessage ** old_message,
|
|
|
|
GstMessage * new_message);
|
|
|
|
#endif /* GST_DISABLE_MINIOBJECT_INLINE_FUNCTIONS */
|
2011-05-10 11:34:10 +00:00
|
|
|
|
|
|
|
/* custom messages */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-05-10 11:34:10 +00:00
|
|
|
GstMessage * gst_message_new_custom (GstMessageType type,
|
|
|
|
GstObject * src,
|
2011-11-26 19:44:23 +00:00
|
|
|
GstStructure * structure) G_GNUC_MALLOC;
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-05-10 11:34:10 +00:00
|
|
|
const GstStructure *
|
|
|
|
gst_message_get_structure (GstMessage *message);
|
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2018-01-26 11:42:28 +00:00
|
|
|
GstStructure * gst_message_writable_structure (GstMessage *message);
|
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-05-10 11:34:10 +00:00
|
|
|
gboolean gst_message_has_name (GstMessage *message, const gchar *name);
|
2005-03-21 17:34:02 +00:00
|
|
|
|
2008-11-04 12:22:53 +00:00
|
|
|
/* identifiers for events and messages */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2008-11-04 12:22:53 +00:00
|
|
|
guint32 gst_message_get_seqnum (GstMessage *message);
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2008-11-04 12:22:53 +00:00
|
|
|
void gst_message_set_seqnum (GstMessage *message, guint32 seqnum);
|
|
|
|
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
/* EOS */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-11-26 18:57:44 +00:00
|
|
|
GstMessage * gst_message_new_eos (GstObject * src) G_GNUC_MALLOC;
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
|
|
|
|
/* ERROR */
|
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-11-26 18:57:44 +00:00
|
|
|
GstMessage * gst_message_new_error (GstObject * src, GError * error, const gchar * debug) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2016-03-02 11:22:23 +00:00
|
|
|
GstMessage * gst_message_new_error_with_details (GstObject * src, GError * error, const gchar * debug, GstStructure * details) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-10-07 08:37:39 +00:00
|
|
|
void gst_message_parse_error (GstMessage *message, GError **gerror, gchar **debug);
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2016-03-02 11:22:23 +00:00
|
|
|
void gst_message_parse_error_details (GstMessage *message, const GstStructure **structure);
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
|
|
|
|
/* WARNING */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-11-26 18:57:44 +00:00
|
|
|
GstMessage * gst_message_new_warning (GstObject * src, GError * error, const gchar * debug) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2016-03-02 11:22:23 +00:00
|
|
|
GstMessage * gst_message_new_warning_with_details (GstObject * src, GError * error, const gchar * debug, GstStructure * details) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-10-07 08:37:39 +00:00
|
|
|
void gst_message_parse_warning (GstMessage *message, GError **gerror, gchar **debug);
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2016-03-02 11:22:23 +00:00
|
|
|
void gst_message_parse_warning_details (GstMessage *message, const GstStructure **structure);
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
|
|
|
|
/* INFO */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-11-26 18:57:44 +00:00
|
|
|
GstMessage * gst_message_new_info (GstObject * src, GError * error, const gchar * debug) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2016-03-02 11:22:23 +00:00
|
|
|
GstMessage * gst_message_new_info_with_details (GstObject * src, GError * error, const gchar * debug, GstStructure * details) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-10-07 08:37:39 +00:00
|
|
|
void gst_message_parse_info (GstMessage *message, GError **gerror, gchar **debug);
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2016-03-02 11:22:23 +00:00
|
|
|
void gst_message_parse_info_details (GstMessage *message, const GstStructure **structure);
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
|
|
|
|
/* TAG */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-11-26 18:57:44 +00:00
|
|
|
GstMessage * gst_message_new_tag (GstObject * src, GstTagList * tag_list) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-10-07 08:37:39 +00:00
|
|
|
void gst_message_parse_tag (GstMessage *message, GstTagList **tag_list);
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
|
|
|
|
/* BUFFERING */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-11-26 18:57:44 +00:00
|
|
|
GstMessage * gst_message_new_buffering (GstObject * src, gint percent) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-10-07 08:37:39 +00:00
|
|
|
void gst_message_parse_buffering (GstMessage *message, gint *percent);
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-04-21 11:37:22 +00:00
|
|
|
void gst_message_set_buffering_stats (GstMessage *message, GstBufferingMode mode,
|
|
|
|
gint avg_in, gint avg_out,
|
|
|
|
gint64 buffering_left);
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
void gst_message_parse_buffering_stats (GstMessage *message, GstBufferingMode *mode,
|
|
|
|
gint *avg_in, gint *avg_out,
|
|
|
|
gint64 *buffering_left);
|
|
|
|
|
|
|
|
/* STATE_CHANGED */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-10-07 08:37:39 +00:00
|
|
|
GstMessage * gst_message_new_state_changed (GstObject * src, GstState oldstate,
|
2011-11-26 18:57:44 +00:00
|
|
|
GstState newstate, GstState pending) G_GNUC_MALLOC;
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-10-07 08:37:39 +00:00
|
|
|
void gst_message_parse_state_changed (GstMessage *message, GstState *oldstate,
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
GstState *newstate, GstState *pending);
|
|
|
|
|
|
|
|
/* STATE_DIRTY */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-11-26 18:57:44 +00:00
|
|
|
GstMessage * gst_message_new_state_dirty (GstObject * src) G_GNUC_MALLOC;
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
|
2009-06-01 10:19:52 +00:00
|
|
|
/* STEP_DONE */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-06-01 10:19:52 +00:00
|
|
|
GstMessage * gst_message_new_step_done (GstObject * src, GstFormat format, guint64 amount,
|
2009-10-07 08:37:39 +00:00
|
|
|
gdouble rate, gboolean flush, gboolean intermediate,
|
2011-11-26 18:57:44 +00:00
|
|
|
guint64 duration, gboolean eos) G_GNUC_MALLOC;
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-06-01 10:19:52 +00:00
|
|
|
void gst_message_parse_step_done (GstMessage * message, GstFormat *format, guint64 *amount,
|
2009-05-18 13:48:20 +00:00
|
|
|
gdouble *rate, gboolean *flush, gboolean *intermediate,
|
2009-10-07 08:37:39 +00:00
|
|
|
guint64 *duration, gboolean *eos);
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
/* CLOCK_PROVIDE */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-11-26 18:57:44 +00:00
|
|
|
GstMessage * gst_message_new_clock_provide (GstObject * src, GstClock *clock, gboolean ready) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-10-07 08:37:39 +00:00
|
|
|
void gst_message_parse_clock_provide (GstMessage *message, GstClock **clock,
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
gboolean *ready);
|
|
|
|
|
|
|
|
/* CLOCK_LOST */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-11-26 18:57:44 +00:00
|
|
|
GstMessage * gst_message_new_clock_lost (GstObject * src, GstClock *clock) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-10-07 08:37:39 +00:00
|
|
|
void gst_message_parse_clock_lost (GstMessage *message, GstClock **clock);
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
|
|
|
|
/* NEW_CLOCK */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-11-26 18:57:44 +00:00
|
|
|
GstMessage * gst_message_new_new_clock (GstObject * src, GstClock *clock) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-10-07 08:37:39 +00:00
|
|
|
void gst_message_parse_new_clock (GstMessage *message, GstClock **clock);
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
|
|
|
|
/* APPLICATION */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-11-26 18:57:44 +00:00
|
|
|
GstMessage * gst_message_new_application (GstObject * src, GstStructure * structure) G_GNUC_MALLOC;
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
|
|
|
|
/* ELEMENT */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-11-26 18:57:44 +00:00
|
|
|
GstMessage * gst_message_new_element (GstObject * src, GstStructure * structure) G_GNUC_MALLOC;
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
|
|
|
|
/* SEGMENT_START */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-11-26 18:57:44 +00:00
|
|
|
GstMessage * gst_message_new_segment_start (GstObject * src, GstFormat format, gint64 position) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-10-07 08:37:39 +00:00
|
|
|
void gst_message_parse_segment_start (GstMessage *message, GstFormat *format,
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
gint64 *position);
|
|
|
|
|
|
|
|
/* SEGMENT_DONE */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-11-26 18:57:44 +00:00
|
|
|
GstMessage * gst_message_new_segment_done (GstObject * src, GstFormat format, gint64 position) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-10-07 08:37:39 +00:00
|
|
|
void gst_message_parse_segment_done (GstMessage *message, GstFormat *format,
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
gint64 *position);
|
|
|
|
|
2012-09-02 00:17:44 +00:00
|
|
|
/* DURATION_CHANGED */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2012-09-02 00:17:44 +00:00
|
|
|
GstMessage * gst_message_new_duration_changed (GstObject * src) G_GNUC_MALLOC;
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
|
|
|
|
/* LATENCY */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-11-26 18:57:44 +00:00
|
|
|
GstMessage * gst_message_new_latency (GstObject * src) G_GNUC_MALLOC;
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
|
|
|
|
/* ASYNC_START */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-11-26 19:44:23 +00:00
|
|
|
GstMessage * gst_message_new_async_start (GstObject * src) G_GNUC_MALLOC;
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
|
|
|
|
/* ASYNC_DONE */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2012-06-13 08:52:48 +00:00
|
|
|
GstMessage * gst_message_new_async_done (GstObject * src, GstClockTime running_time) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2012-06-13 08:52:48 +00:00
|
|
|
void gst_message_parse_async_done (GstMessage *message, GstClockTime *running_time);
|
Reorder the message docs and headers for clarity.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_set_buffering_stats),
(gst_message_parse_buffering_stats):
* gst/gstmessage.h:
* gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
(gst_query_parse_latency), (gst_query_new_buffering),
(gst_query_set_buffering_percent),
(gst_query_parse_buffering_percent),
(gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
(gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
* gst/gstquery.h:
Reorder the message docs and headers for clarity.
Add aditional buffering stats API for messages.
Add buffering query.
Convert some leftover queries to use GstQuark.
API: gst_message_set_buffering_stats
API: gst_message_parse_buffering_stats
API: GST_QUERY_BUFFERING
API: GstBufferingMode
API: gst_query_new_buffering
API: gst_query_set_buffering_percent
API: gst_query_parse_buffering_percent
API: gst_query_set_buffering_stats
API: gst_query_parse_buffering_stats
API: gst_query_set_buffering_avail
API: gst_query_parse_buffering_avail
2008-04-08 19:59:06 +00:00
|
|
|
|
2008-10-06 15:31:49 +00:00
|
|
|
/* STRUCTURE CHANGE */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-10-07 08:37:39 +00:00
|
|
|
GstMessage * gst_message_new_structure_change (GstObject * src, GstStructureChangeType type,
|
2011-11-26 18:57:44 +00:00
|
|
|
GstElement *owner, gboolean busy) G_GNUC_MALLOC;
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-10-07 08:37:39 +00:00
|
|
|
void gst_message_parse_structure_change (GstMessage *message, GstStructureChangeType *type,
|
2008-10-06 15:31:49 +00:00
|
|
|
GstElement **owner, gboolean *busy);
|
|
|
|
|
2009-04-21 11:42:01 +00:00
|
|
|
/* STREAM STATUS */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-10-07 08:37:39 +00:00
|
|
|
GstMessage * gst_message_new_stream_status (GstObject * src, GstStreamStatusType type,
|
2011-11-26 18:57:44 +00:00
|
|
|
GstElement *owner) G_GNUC_MALLOC;
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-10-07 08:37:39 +00:00
|
|
|
void gst_message_parse_stream_status (GstMessage *message, GstStreamStatusType *type,
|
2009-04-21 11:42:01 +00:00
|
|
|
GstElement **owner);
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-04-21 11:42:01 +00:00
|
|
|
void gst_message_set_stream_status_object (GstMessage *message, const GValue *object);
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-04-21 11:42:01 +00:00
|
|
|
const GValue * gst_message_get_stream_status_object (GstMessage *message);
|
|
|
|
|
2009-02-18 14:31:55 +00:00
|
|
|
/* REQUEST_STATE */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-11-26 18:57:44 +00:00
|
|
|
GstMessage * gst_message_new_request_state (GstObject * src, GstState state) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-02-18 14:31:55 +00:00
|
|
|
void gst_message_parse_request_state (GstMessage * message, GstState *state);
|
|
|
|
|
2009-06-10 13:48:35 +00:00
|
|
|
/* STEP_START */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-06-12 11:18:21 +00:00
|
|
|
GstMessage * gst_message_new_step_start (GstObject * src, gboolean active, GstFormat format,
|
|
|
|
guint64 amount, gdouble rate, gboolean flush,
|
2011-11-26 18:57:44 +00:00
|
|
|
gboolean intermediate) G_GNUC_MALLOC;
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2009-06-12 11:18:21 +00:00
|
|
|
void gst_message_parse_step_start (GstMessage * message, gboolean *active, GstFormat *format,
|
|
|
|
guint64 *amount, gdouble *rate, gboolean *flush,
|
2009-10-07 08:37:39 +00:00
|
|
|
gboolean *intermediate);
|
2009-06-10 13:48:35 +00:00
|
|
|
|
2010-03-17 18:16:42 +00:00
|
|
|
/* QOS */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2010-03-17 18:16:42 +00:00
|
|
|
GstMessage * gst_message_new_qos (GstObject * src, gboolean live, guint64 running_time,
|
2011-11-26 18:57:44 +00:00
|
|
|
guint64 stream_time, guint64 timestamp, guint64 duration) G_GNUC_MALLOC;
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2010-03-17 18:16:42 +00:00
|
|
|
void gst_message_set_qos_values (GstMessage * message, gint64 jitter, gdouble proportion,
|
|
|
|
gint quality);
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2010-03-17 18:16:42 +00:00
|
|
|
void gst_message_set_qos_stats (GstMessage * message, GstFormat format, guint64 processed,
|
|
|
|
guint64 dropped);
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2010-03-17 18:16:42 +00:00
|
|
|
void gst_message_parse_qos (GstMessage * message, gboolean * live, guint64 * running_time,
|
|
|
|
guint64 * stream_time, guint64 * timestamp, guint64 * duration);
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2010-03-17 18:16:42 +00:00
|
|
|
void gst_message_parse_qos_values (GstMessage * message, gint64 * jitter, gdouble * proportion,
|
|
|
|
gint * quality);
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2010-03-17 18:16:42 +00:00
|
|
|
void gst_message_parse_qos_stats (GstMessage * message, GstFormat * format, guint64 * processed,
|
|
|
|
guint64 * dropped);
|
2011-01-05 12:41:08 +00:00
|
|
|
/* PROGRESS */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-01-06 17:55:43 +00:00
|
|
|
GstMessage * gst_message_new_progress (GstObject * src, GstProgressType type, const gchar *code,
|
2011-11-26 18:57:44 +00:00
|
|
|
const gchar *text) G_GNUC_MALLOC;
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2011-01-06 17:55:43 +00:00
|
|
|
void gst_message_parse_progress (GstMessage * message, GstProgressType * type, gchar ** code,
|
2011-01-05 12:41:08 +00:00
|
|
|
gchar ** text);
|
|
|
|
|
2012-03-14 16:41:48 +00:00
|
|
|
/* TOC */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2012-03-14 16:41:48 +00:00
|
|
|
GstMessage * gst_message_new_toc (GstObject *src, GstToc *toc, gboolean updated);
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2012-03-14 16:41:48 +00:00
|
|
|
void gst_message_parse_toc (GstMessage *message, GstToc **toc, gboolean *updated);
|
2010-03-17 18:16:42 +00:00
|
|
|
|
2012-06-13 08:16:27 +00:00
|
|
|
/* RESET_TIME */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2012-06-13 08:16:27 +00:00
|
|
|
GstMessage * gst_message_new_reset_time (GstObject * src, GstClockTime running_time) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2012-06-13 08:16:27 +00:00
|
|
|
void gst_message_parse_reset_time (GstMessage *message, GstClockTime *running_time);
|
|
|
|
|
2012-07-09 18:08:15 +00:00
|
|
|
/* STREAM_START */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2012-07-09 18:08:15 +00:00
|
|
|
GstMessage * gst_message_new_stream_start (GstObject * src) G_GNUC_MALLOC;
|
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2013-07-22 09:41:35 +00:00
|
|
|
void gst_message_set_group_id (GstMessage *message, guint group_id);
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2013-07-22 09:41:35 +00:00
|
|
|
gboolean gst_message_parse_group_id (GstMessage *message, guint *group_id);
|
|
|
|
|
2013-03-28 14:35:13 +00:00
|
|
|
/* NEED_CONTEXT */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2013-09-17 11:50:08 +00:00
|
|
|
GstMessage * gst_message_new_need_context (GstObject * src, const gchar * context_type) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2013-09-17 11:50:08 +00:00
|
|
|
gboolean gst_message_parse_context_type (GstMessage * message, const gchar ** context_type);
|
2013-03-28 14:35:13 +00:00
|
|
|
|
|
|
|
/* HAVE_CONTEXT */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2013-03-28 14:35:13 +00:00
|
|
|
GstMessage * gst_message_new_have_context (GstObject * src, GstContext *context) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2013-03-28 14:35:13 +00:00
|
|
|
void gst_message_parse_have_context (GstMessage *message, GstContext **context);
|
|
|
|
|
2012-10-16 16:27:04 +00:00
|
|
|
/* DEVICE_ADDED */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2012-10-16 16:27:04 +00:00
|
|
|
GstMessage * gst_message_new_device_added (GstObject * src, GstDevice * device) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2012-10-16 16:27:04 +00:00
|
|
|
void gst_message_parse_device_added (GstMessage * message, GstDevice ** device);
|
|
|
|
|
|
|
|
/* DEVICE_REMOVED */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2012-10-16 16:27:04 +00:00
|
|
|
GstMessage * gst_message_new_device_removed (GstObject * src, GstDevice * device) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2012-10-16 16:27:04 +00:00
|
|
|
void gst_message_parse_device_removed (GstMessage * message, GstDevice ** device);
|
|
|
|
|
2019-01-30 13:41:58 +00:00
|
|
|
/* DEVICE_CHANGED */
|
|
|
|
|
|
|
|
GST_API
|
|
|
|
GstMessage * gst_message_new_device_changed (GstObject * src, GstDevice * device, GstDevice *changed_device);
|
|
|
|
|
|
|
|
GST_API
|
|
|
|
void gst_message_parse_device_changed (GstMessage * message, GstDevice ** device, GstDevice ** changed_device);
|
|
|
|
|
|
|
|
|
2016-03-05 14:12:36 +00:00
|
|
|
/* PROPERTY_NOTIFY */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2016-03-05 14:12:36 +00:00
|
|
|
GstMessage * gst_message_new_property_notify (GstObject * src, const gchar * property_name, GValue * val) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2016-03-05 14:12:36 +00:00
|
|
|
void gst_message_parse_property_notify (GstMessage * message, GstObject ** object, const gchar ** property_name, const GValue ** property_value);
|
2012-10-16 16:27:04 +00:00
|
|
|
|
2015-06-12 08:53:23 +00:00
|
|
|
/* STREAM_COLLECTION */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2015-06-12 08:53:23 +00:00
|
|
|
GstMessage * gst_message_new_stream_collection (GstObject * src, GstStreamCollection * collection) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2015-06-12 08:53:23 +00:00
|
|
|
void gst_message_parse_stream_collection (GstMessage *message, GstStreamCollection **collection);
|
|
|
|
|
|
|
|
/* STREAMS_SELECTED */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2015-06-12 08:53:23 +00:00
|
|
|
GstMessage * gst_message_new_streams_selected (GstObject *src, GstStreamCollection *collection);
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2015-06-12 08:53:23 +00:00
|
|
|
void gst_message_streams_selected_add (GstMessage *message, GstStream *stream);
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2015-06-12 08:53:23 +00:00
|
|
|
void gst_message_parse_streams_selected (GstMessage * message, GstStreamCollection **collection);
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2015-06-12 08:53:23 +00:00
|
|
|
guint gst_message_streams_selected_get_size (GstMessage * message);
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2015-06-12 08:53:23 +00:00
|
|
|
GstStream *gst_message_streams_selected_get_stream (GstMessage *message, guint idx);
|
|
|
|
|
2016-07-25 09:22:36 +00:00
|
|
|
/* REDIRECT */
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2016-07-25 09:22:36 +00:00
|
|
|
GstMessage * gst_message_new_redirect (GstObject * src, const gchar * location, GstTagList * tag_list, const GstStructure * entry_struct) G_GNUC_MALLOC;
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2016-07-25 09:22:36 +00:00
|
|
|
void gst_message_add_redirect_entry (GstMessage * message, const gchar * location, GstTagList * tag_list, const GstStructure * entry_struct);
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2016-07-25 09:22:36 +00:00
|
|
|
void gst_message_parse_redirect_entry (GstMessage * message, gsize entry_index, const gchar ** location, GstTagList ** tag_list, const GstStructure ** entry_struct);
|
2017-05-10 09:56:16 +00:00
|
|
|
|
2018-03-12 23:03:26 +00:00
|
|
|
GST_API
|
2016-07-25 09:22:36 +00:00
|
|
|
gsize gst_message_get_num_redirect_entries (GstMessage * message);
|
|
|
|
|
2018-05-14 20:14:24 +00:00
|
|
|
/* INSTANT_RATE_REQUEST */
|
|
|
|
|
|
|
|
GST_API
|
|
|
|
GstMessage * gst_message_new_instant_rate_request (GstObject * src, gdouble rate_multiplier) G_GNUC_MALLOC;
|
|
|
|
GST_API
|
|
|
|
void gst_message_parse_instant_rate_request (GstMessage * message, gdouble * rate_multiplier);
|
|
|
|
|
2015-11-10 17:38:59 +00:00
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstMessage, gst_message_unref)
|
|
|
|
|
2005-03-21 17:34:02 +00:00
|
|
|
G_END_DECLS
|
2005-07-18 12:49:53 +00:00
|
|
|
|
2005-03-21 17:34:02 +00:00
|
|
|
#endif /* __GST_MESSAGE_H__ */
|