summaryrefslogtreecommitdiff
path: root/gst/gstmessage.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-10-08 08:58:45 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-10-08 08:58:45 +0000
commitce081d6341c7bbc1d49bf574918f8a4dd4dd20ab (patch)
tree0b182799b37889f5cfe514f2fa5b6382b4321c82 /gst/gstmessage.h
parent8e213e710b9582ba03a2126740e03bf49016b967 (diff)
Added extra field to STATE_CHANGE message with the pending state, which will be different from the new state soon.
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/gstelement.c: (gst_element_commit_state), (gst_element_lost_state): * gst/gstmessage.c: (gst_message_new_state_changed), (gst_message_parse_state_changed): * gst/gstmessage.h: * tools/gst-launch.c: (event_loop): Added extra field to STATE_CHANGE message with the pending state, which will be different from the new state soon.
Diffstat (limited to 'gst/gstmessage.h')
-rw-r--r--gst/gstmessage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/gstmessage.h b/gst/gstmessage.h
index f2be6a9ec..313863873 100644
--- a/gst/gstmessage.h
+++ b/gst/gstmessage.h
@@ -145,7 +145,7 @@ GstMessage * gst_message_new_error (GstObject * src, GError * error, gchar * d
GstMessage * gst_message_new_warning (GstObject * src, GError * error, gchar * debug);
GstMessage * gst_message_new_tag (GstObject * src, GstTagList * tag_list);
GstMessage * gst_message_new_state_changed (GstObject * src, GstState old_state,
- GstState new_state);
+ GstState new_state, GstState pending);
GstMessage * gst_message_new_segment_start (GstObject * src, GstClockTime timestamp);
GstMessage * gst_message_new_segment_done (GstObject * src, GstClockTime timestamp);
GstMessage * gst_message_new_application (GstObject * src, GstStructure * structure);
@@ -158,7 +158,7 @@ void gst_message_parse_error (GstMessage *message, GError **gerror, gchar **de
void gst_message_parse_warning (GstMessage *message, GError **gerror, gchar **debug);
void gst_message_parse_tag (GstMessage *message, GstTagList **tag_list);
void gst_message_parse_state_changed (GstMessage *message, GstState *old_state,
- GstState *new_state);
+ GstState *new_state, GstState *pending);
void gst_message_parse_segment_start (GstMessage *message, GstClockTime *timestamp);
void gst_message_parse_segment_done (GstMessage *message, GstClockTime *timestamp);