summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2002-01-10 10:03:33 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2002-01-10 10:03:33 +0000
commit70e24a888885ff1831893095460d2147f8b7715a (patch)
tree5e1542e32f270c5c68fdb48e535c4f1390479c4c
parent37cd2f7a260502bbf72060165cff06358afc1c95 (diff)
downloadgst-plugins-bad-70e24a888885ff1831893095460d2147f8b7715a.tar.gz
gst-plugins-bad-70e24a888885ff1831893095460d2147f8b7715a.tar.bz2
gst-plugins-bad-70e24a888885ff1831893095460d2147f8b7715a.zip
Oops, a small bug which I forgot about
Original commit message from CVS: Oops, a small bug which I forgot about
-rw-r--r--ext/sdl/sdlvideosink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c
index 36a15ea5..b7098b69 100644
--- a/ext/sdl/sdlvideosink.c
+++ b/ext/sdl/sdlvideosink.c
@@ -405,6 +405,7 @@ gst_sdlvideosink_set_property (GObject *object, guint prop_id, const GValue *val
/* it's not null if we got it, but it might not be ours */
g_return_if_fail (GST_IS_SDLVIDEOSINK (object));
+ sdlvideosink = GST_SDLVIDEOSINK(object);
switch (prop_id)
{
@@ -429,6 +430,7 @@ gst_sdlvideosink_get_property (GObject *object, guint prop_id, GValue *value, GP
GstSDLVideoSink *sdlvideosink;
/* it's not null if we got it, but it might not be ours */
+ g_return_if_fail (GST_IS_SDLVIDEOSINK (object));
sdlvideosink = GST_SDLVIDEOSINK(object);
switch (prop_id) {