summaryrefslogtreecommitdiffstats
path: root/ext/gdk_pixbuf
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gdk_pixbuf')
-rw-r--r--ext/gdk_pixbuf/pixbufscale.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/gdk_pixbuf/pixbufscale.c b/ext/gdk_pixbuf/pixbufscale.c
index 0d6238b9..3e011b8f 100644
--- a/ext/gdk_pixbuf/pixbufscale.c
+++ b/ext/gdk_pixbuf/pixbufscale.c
@@ -170,8 +170,10 @@ static void
gst_pixbufscale_init (GstPixbufScale * pixbufscale,
GstPixbufScaleClass * kclass)
{
+ GstBaseTransform *trans;
+
GST_DEBUG_OBJECT (pixbufscale, "_init");
- GstBaseTransform *trans = GST_BASE_TRANSFORM (pixbufscale);
+ trans = GST_BASE_TRANSFORM (pixbufscale);
gst_pad_set_event_function (trans->srcpad, gst_pixbufscale_handle_src_event);