mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
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
This commit is contained in:
parent
45aff4bc9c
commit
bac7d40601
4 changed files with 10 additions and 10 deletions
|
@ -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,
|
||||
|
|
|
@ -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,7 +221,7 @@ gst_ossmixer_interface_init (GstMixerClass *klass)
|
|||
}
|
||||
|
||||
static gboolean
|
||||
gst_ossmixer_supported (GstInterface *iface,
|
||||
gst_ossmixer_supported (GstImplementsInterface *iface,
|
||||
GType iface_type)
|
||||
{
|
||||
g_assert (iface_type == GST_TYPE_MIXER);
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ static guint gst_v4l2element_signals[LAST_SIGNAL] = { 0 };
|
|||
|
||||
|
||||
static gboolean
|
||||
gst_v4l2_iface_supported (GstInterface *iface,
|
||||
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,
|
||||
|
|
Loading…
Reference in a new issue