gst/gstmessage.c: Fixed a few forgotten variables on previous commit

Original commit message from CVS:
2005-10-09  Philippe Khalaf <burger@speedy.org>
* gst/gstmessage.c:
Fixed a few forgotten variables on previous commit
This commit is contained in:
Philippe Kalaf 2005-10-09 20:19:48 +00:00
parent 2b41c044a2
commit b6ea453bc1
2 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,7 @@
2005-10-09 Philippe Khalaf <burger@speedy.org>
* gst/gstmessage.c:
Fixed a few forgotten variables on previous commit
2005-10-09 Tim-Philipp Müller <tim at centricular dot net> 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
* gst/base/gsttypefindhelper.c: (helper_find_peek): * gst/base/gsttypefindhelper.c: (helper_find_peek):

View file

@ -640,12 +640,12 @@ gst_message_parse_state_changed (GstMessage * message, GstState * oldstate,
g_return_if_fail (GST_IS_MESSAGE (message)); g_return_if_fail (GST_IS_MESSAGE (message));
g_return_if_fail (GST_MESSAGE_TYPE (message) == GST_MESSAGE_STATE_CHANGED); g_return_if_fail (GST_MESSAGE_TYPE (message) == GST_MESSAGE_STATE_CHANGED);
if (old) if (oldstate)
gst_structure_get_enum (message->structure, "old-state", gst_structure_get_enum (message->structure, "old-state",
GST_TYPE_STATE, (gint *) old); GST_TYPE_STATE, (gint *) oldstate);
if (new) if (newstate)
gst_structure_get_enum (message->structure, "new-state", gst_structure_get_enum (message->structure, "new-state",
GST_TYPE_STATE, (gint *) new); GST_TYPE_STATE, (gint *) newstate);
if (pending) if (pending)
gst_structure_get_enum (message->structure, "pending-state", gst_structure_get_enum (message->structure, "pending-state",
GST_TYPE_STATE, (gint *) pending); GST_TYPE_STATE, (gint *) pending);