message: fix up minor inconsistency in structure name of state-changed message

This commit is contained in:
Tim-Philipp Müller 2012-06-12 22:45:09 +01:00
parent d13ce8b7e8
commit d916018021
3 changed files with 3 additions and 3 deletions

View 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);

View 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",

View 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,