From 70e24a888885ff1831893095460d2147f8b7715a Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Thu, 10 Jan 2002 10:03:33 +0000 Subject: Oops, a small bug which I forgot about Original commit message from CVS: Oops, a small bug which I forgot about --- ext/sdl/sdlvideosink.c | 2 ++ 1 file changed, 2 insertions(+) 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) { -- cgit v1.2.1