mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
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:
parent
2b41c044a2
commit
b6ea453bc1
2 changed files with 8 additions and 4 deletions
|
@ -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):
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue