75
75
* can get the new duration with a duration query.
76
76
* @GST_MESSAGE_ASYNC_START: Posted by elements when they start an ASYNC
77
77
* #GstStateChange. This message is not forwarded to the application but is used
78
* internally. Since: 0.10.13.
79
79
* @GST_MESSAGE_ASYNC_DONE: Posted by elements when they complete an ASYNC
80
80
* #GstStateChange. The application will only receive this message from the toplevel
81
* pipeline. Since: 0.10.13
82
82
* @GST_MESSAGE_LATENCY: Posted by elements when their latency changes. The
83
* application should recalculate and distribute a new latency. Since: 0.10.12
83
* application should recalculate and distribute a new latency.
84
84
* @GST_MESSAGE_REQUEST_STATE: Posted by elements when they want the pipeline to
85
85
* change state. This message is a suggestion to the application which can
86
* decide to perform the state change on (part of) the pipeline. Since: 0.10.23.
87
* @GST_MESSAGE_STEP_START: A stepping operation was started. Since: 0.10.24
86
* decide to perform the state change on (part of) the pipeline.
87
* @GST_MESSAGE_STEP_START: A stepping operation was started.
88
88
* @GST_MESSAGE_QOS: A buffer was dropped or an element changed its processing
89
* strategy for Quality of Service reasons. Since: 0.10.29
90
* @GST_MESSAGE_PROGRESS: A progress message. Since: 0.10.33
89
* strategy for Quality of Service reasons.
90
* @GST_MESSAGE_PROGRESS: A progress message.
91
91
* @GST_MESSAGE_TOC: A new table of contents (TOC) was found or previously found TOC
92
* was updated. Since: 0.10.37
93
93
* @GST_MESSAGE_ANY: mask for all of the above messages.
95
95
* The different message types that are available.
127
127
GST_MESSAGE_QOS = (1 << 24),
128
128
GST_MESSAGE_PROGRESS = (1 << 25),
129
129
GST_MESSAGE_TOC = (1 << 26),
130
GST_MESSAGE_RESET_TIME = (1 << 27),
131
GST_MESSAGE_STREAM_START = (1 << 28),
130
132
GST_MESSAGE_ANY = ~0
131
133
} GstMessageType;
200
200
* Get the name of the object that posted @message. Returns "(NULL)" if
201
201
* the message has no source object set.
205
203
#define GST_MESSAGE_SRC_NAME(message) (GST_MESSAGE_SRC(message) ? \
206
204
GST_OBJECT_NAME (GST_MESSAGE_SRC(message)) : "(NULL)")
501
493
GstMessage * gst_message_new_async_start (GstObject * src) G_GNUC_MALLOC;
504
GstMessage * gst_message_new_async_done (GstObject * src, gboolean reset_time) G_GNUC_MALLOC;
505
void gst_message_parse_async_done (GstMessage *message, gboolean *reset_time);
496
GstMessage * gst_message_new_async_done (GstObject * src, GstClockTime running_time) G_GNUC_MALLOC;
497
void gst_message_parse_async_done (GstMessage *message, GstClockTime *running_time);
507
499
/* STRUCTURE CHANGE */
508
500
GstMessage * gst_message_new_structure_change (GstObject * src, GstStructureChangeType type,
553
545
GstMessage * gst_message_new_toc (GstObject *src, GstToc *toc, gboolean updated);
554
546
void gst_message_parse_toc (GstMessage *message, GstToc **toc, gboolean *updated);
549
GstMessage * gst_message_new_reset_time (GstObject * src, GstClockTime running_time) G_GNUC_MALLOC;
550
void gst_message_parse_reset_time (GstMessage *message, GstClockTime *running_time);
553
GstMessage * gst_message_new_stream_start (GstObject * src) G_GNUC_MALLOC;
558
557
#endif /* __GST_MESSAGE_H__ */