message: fix up minor inconsistency in structure name of state-changed message
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 12 Jun 2012 21:45:09 +0000 (22:45 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 12 Jun 2012 21:45:44 +0000 (22:45 +0100)
gst/gstmessage.c
gst/gstquark.c
gst/gstquark.h

index 4eef4ac9aea8cd2e2aaabab69e08b7187b4e2537..5950b0d130fa5b40616d93346f5712798ff014e1 100644 (file)
@@ -557,7 +557,7 @@ gst_message_new_state_changed (GstObject * src,
   GstMessage *message;
   GstStructure *structure;
 
-  structure = gst_structure_new_id (GST_QUARK (MESSAGE_STATE),
+  structure = gst_structure_new_id (GST_QUARK (MESSAGE_STATE_CHANGED),
       GST_QUARK (OLD_STATE), GST_TYPE_STATE, (gint) oldstate,
       GST_QUARK (NEW_STATE), GST_TYPE_STATE, (gint) newstate,
       GST_QUARK (PENDING_STATE), GST_TYPE_STATE, (gint) pending, NULL);
index 2d55fa3273bed001407d6bb0bc1dc823d1503e6d..9fd383eed391c2842e044369a82c1477fba8e88d 100644 (file)
@@ -41,7 +41,7 @@ static const gchar *_quark_strings[] = {
   "latency", "uri", "object", "taglist", "GstEventSegment",
   "GstEventBufferSize", "GstEventQOS", "GstEventSeek", "GstEventLatency",
   "GstMessageError", "GstMessageWarning", "GstMessageInfo",
-  "GstMessageBuffering", "GstMessageState", "GstMessageClockProvide",
+  "GstMessageBuffering", "GstMessageStateChanged", "GstMessageClockProvide",
   "GstMessageClockLost", "GstMessageNewClock", "GstMessageStructureChange",
   "GstMessageSegmentStart", "GstMessageSegmentDone", "GstMessageDuration",
   "GstMessageAsyncDone", "GstMessageRequestState", "GstMessageStreamStatus",
index 969ce7920c025989eb72ec8c5e0b0737f7e82ad2..ee32a64e8cdc1050c486960c26b10b3252f05ba7 100644 (file)
@@ -89,7 +89,7 @@ typedef enum _GstQuarkId
   GST_QUARK_MESSAGE_WARNING = 60,
   GST_QUARK_MESSAGE_INFO = 61,
   GST_QUARK_MESSAGE_BUFFERING = 62,
-  GST_QUARK_MESSAGE_STATE = 63,
+  GST_QUARK_MESSAGE_STATE_CHANGED = 63,
   GST_QUARK_MESSAGE_CLOCK_PROVIDE = 64,
   GST_QUARK_MESSAGE_CLOCK_LOST = 65,
   GST_QUARK_MESSAGE_NEW_CLOCK = 66,