diff options
-rw-r--r-- | ext/sdl/sdlvideosink.c | 2 |
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) { |