Make synaesthesia build again.

_init() has no params.
This commit is contained in:
Stefan Kost 2009-01-23 23:59:38 +02:00
parent 9ec89e369e
commit 23db61047f

View file

@ -325,7 +325,10 @@ gst_synaesthesia_src_setcaps (GstPad * pad, GstCaps * caps)
synaesthesia->spf = gst_util_uint64_scale_int (synaesthesia->rate,
synaesthesia->fps_d, synaesthesia->fps_n);
synaesthesia_init (synaesthesia->width, synaesthesia->height);
/* FIXME: the size is currently ignored by the engine. see comment above */
synaesthesia_close (synaesthesia->si);
synaesthesia->si =
synaesthesia_new (synaesthesia->width, synaesthesia->height);
done:
gst_object_unref (synaesthesia);