From 9bda5831b8818d0fe4286fdb1217085913277c0d Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sun, 7 Dec 2003 12:11:30 +0000 Subject: Move over from GstInterface to GstImplementsInterface. Also adds some signals to several interfaces Original commit message from CVS: Move over from GstInterface to GstImplementsInterface. Also adds some signals to several interfaces --- sys/v4l2/gstv4l2element.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/v4l2/gstv4l2element.c') diff --git a/sys/v4l2/gstv4l2element.c b/sys/v4l2/gstv4l2element.c index 53893fac..d99f6d6d 100644 --- a/sys/v4l2/gstv4l2element.c +++ b/sys/v4l2/gstv4l2element.c @@ -78,8 +78,8 @@ static guint gst_v4l2element_signals[LAST_SIGNAL] = { 0 }; static gboolean -gst_v4l2_iface_supported (GstInterface *iface, - GType iface_type) +gst_v4l2_iface_supported (GstImplementsInterface *iface, + GType iface_type) { GstV4l2Element *v4l2element = GST_V4L2ELEMENT (iface); @@ -99,7 +99,7 @@ gst_v4l2_iface_supported (GstInterface *iface, static void -gst_v4l2_interface_init (GstInterfaceClass *klass) +gst_v4l2_interface_init (GstImplementsInterfaceClass *klass) { /* default virtual functions */ klass->supported = gst_v4l2_iface_supported; @@ -315,7 +315,7 @@ gst_v4l2element_get_type (void) "GstV4l2Element", &v4l2element_info, 0); g_type_add_interface_static (v4l2element_type, - GST_TYPE_INTERFACE, + GST_TYPE_IMPLEMENTS_INTERFACE, &v4l2iface_info); g_type_add_interface_static (v4l2element_type, GST_TYPE_TUNER, -- cgit v1.2.1