summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-05-02 20:13:08 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-05-02 20:13:08 +0000
commit1cf42a0f448f35e9d939def72ca71008c68a2fbc (patch)
tree7085319a8a3fbf3dccc70c31f89c48dc29642dc2 /gst-libs/gst
parentd06b679133d27c87b9d3b32f3445f8c02b09190d (diff)
downloadgst-plugins-bad-1cf42a0f448f35e9d939def72ca71008c68a2fbc.tar.gz
gst-plugins-bad-1cf42a0f448f35e9d939def72ca71008c68a2fbc.tar.bz2
gst-plugins-bad-1cf42a0f448f35e9d939def72ca71008c68a2fbc.zip
Gcc < 3.0 fix
Original commit message from CVS: Gcc < 3.0 fix
Diffstat (limited to 'gst-libs/gst')
-rw-r--r--gst-libs/gst/play/play.old.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gst-libs/gst/play/play.old.c b/gst-libs/gst/play/play.old.c
index f0883c7a..8b022b6d 100644
--- a/gst-libs/gst/play/play.old.c
+++ b/gst-libs/gst/play/play.old.c
@@ -538,9 +538,11 @@ callback_pipeline_state_change ( GstElement *element,
static void
gst_play_dispose (GObject *object)
{
+ GstPlay *play;
+
g_return_if_fail (object != NULL);
g_return_if_fail (GST_IS_PLAY(object));
- GstPlay *play = GST_PLAY (object);
+ play = GST_PLAY (object);
/* Removing all sources */
while (g_source_remove_by_user_data (play));