diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/oss/gstosselement.c | 2 | ||||
-rw-r--r-- | sys/oss/gstossmixer.c | 8 | ||||
-rw-r--r-- | sys/oss/gstossmixer.h | 2 | ||||
-rw-r--r-- | sys/v4l2/gstv4l2element.c | 8 |
4 files changed, 10 insertions, 10 deletions
diff --git a/sys/oss/gstosselement.c b/sys/oss/gstosselement.c index 9e1814a5..03aff113 100644 --- a/sys/oss/gstosselement.c +++ b/sys/oss/gstosselement.c @@ -110,7 +110,7 @@ gst_osselement_get_type (void) "GstOssElement", &osselement_info, 0); g_type_add_interface_static (osselement_type, - GST_TYPE_INTERFACE, + GST_TYPE_IMPLEMENTS_INTERFACE, &ossiface_info); g_type_add_interface_static (osselement_type, GST_TYPE_MIXER, diff --git a/sys/oss/gstossmixer.c b/sys/oss/gstossmixer.c index 19a53e0c..7c5899f9 100644 --- a/sys/oss/gstossmixer.c +++ b/sys/oss/gstossmixer.c @@ -40,7 +40,7 @@ static void gst_ossmixer_track_class_init (GstOssMixerTrackClass *klass); static void gst_ossmixer_track_init (GstOssMixerTrack *track); -static gboolean gst_ossmixer_supported (GstInterface *iface, +static gboolean gst_ossmixer_supported (GstImplementsInterface *iface, GType iface_type); static const GList * gst_ossmixer_list_tracks (GstMixer *ossmixer); @@ -203,7 +203,7 @@ gst_ossmixer_track_new (GstOssElement *oss, } void -gst_oss_interface_init (GstInterfaceClass *klass) +gst_oss_interface_init (GstImplementsInterfaceClass *klass) { /* default virtual functions */ klass->supported = gst_ossmixer_supported; @@ -221,8 +221,8 @@ gst_ossmixer_interface_init (GstMixerClass *klass) } static gboolean -gst_ossmixer_supported (GstInterface *iface, - GType iface_type) +gst_ossmixer_supported (GstImplementsInterface *iface, + GType iface_type) { g_assert (iface_type == GST_TYPE_MIXER); diff --git a/sys/oss/gstossmixer.h b/sys/oss/gstossmixer.h index 24521fd4..dd2fb4fc 100644 --- a/sys/oss/gstossmixer.h +++ b/sys/oss/gstossmixer.h @@ -55,7 +55,7 @@ typedef struct _GstOssMixerTrackClass { GType gst_ossmixer_track_get_type (void); void gst_ossmixer_interface_init (GstMixerClass *klass); -void gst_oss_interface_init (GstInterfaceClass *klass); +void gst_oss_interface_init (GstImplementsInterfaceClass *klass); void gst_ossmixer_build_list (GstOssElement *oss); void gst_ossmixer_free_list (GstOssElement *oss); 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, |