From da8915bfc1f94f18f451b342b856b728894370c6 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sun, 10 Jul 2005 12:52:20 +0000 Subject: more macro splitting; fix po problem Original commit message from CVS: more macro splitting; fix po problem --- ext/aalib/gstaasink.c | 6 +++--- ext/esd/esdsink.c | 6 +++--- ext/libcaca/gstcacasink.c | 6 +++--- ext/shout2/gstshout2.c | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) (limited to 'ext') diff --git a/ext/aalib/gstaasink.c b/ext/aalib/gstaasink.c index 3bd0c997..74aa52d4 100644 --- a/ext/aalib/gstaasink.c +++ b/ext/aalib/gstaasink.c @@ -105,7 +105,7 @@ gst_aasink_get_type (void) }; aasink_type = - g_type_register_static (GST_TYPE_BASESINK, "GstAASink", &aasink_info, + g_type_register_static (GST_TYPE_BASE_SINK, "GstAASink", &aasink_info, 0); } return aasink_type; @@ -196,7 +196,7 @@ gst_aasink_class_init (GstAASinkClass * klass) gstelement_class = (GstElementClass *) klass; gstbasesink_class = (GstBaseSinkClass *) klass; - parent_class = g_type_class_ref (GST_TYPE_BASESINK); + parent_class = g_type_class_ref (GST_TYPE_BASE_SINK); gobject_class->set_property = gst_aasink_set_property; gobject_class->get_property = gst_aasink_get_property; @@ -271,7 +271,7 @@ gst_aasink_init (GstAASink * aasink) { GstPad *pad; - pad = GST_BASESINK_PAD (aasink); + pad = GST_BASE_SINK_PAD (aasink); gst_pad_set_fixatecaps_function (pad, gst_aasink_fixate); memcpy (&aasink->ascii_surf, &aa_defparams, diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c index 49702ce6..b27ce394 100644 --- a/ext/esd/esdsink.c +++ b/ext/esd/esdsink.c @@ -106,8 +106,8 @@ gst_esdsink_get_type (void) }; esdsink_type = - g_type_register_static (GST_TYPE_AUDIOSINK, "GstEsdSink", &esdsink_info, - 0); + g_type_register_static (GST_TYPE_AUDIO_SINK, "GstEsdSink", + &esdsink_info, 0); } return esdsink_type; } @@ -137,7 +137,7 @@ gst_esdsink_class_init (GstEsdSinkClass * klass) gstbaseaudiosink_class = (GstBaseAudioSinkClass *) klass; gstaudiosink_class = (GstAudioSinkClass *) klass; - parent_class = g_type_class_ref (GST_TYPE_AUDIOSINK); + parent_class = g_type_class_ref (GST_TYPE_AUDIO_SINK); gobject_class->dispose = gst_esdsink_dispose; diff --git a/ext/libcaca/gstcacasink.c b/ext/libcaca/gstcacasink.c index 1ccd728f..40fd6c74 100644 --- a/ext/libcaca/gstcacasink.c +++ b/ext/libcaca/gstcacasink.c @@ -95,7 +95,7 @@ gst_cacasink_get_type (void) }; cacasink_type = - g_type_register_static (GST_TYPE_BASESINK, "GstCACASink", + g_type_register_static (GST_TYPE_BASE_SINK, "GstCACASink", &cacasink_info, 0); } return cacasink_type; @@ -154,7 +154,7 @@ gst_cacasink_class_init (GstCACASinkClass * klass) gstelement_class = (GstElementClass *) klass; gstbasesink_class = (GstBaseSinkClass *) klass; - parent_class = g_type_class_ref (GST_TYPE_BASESINK); + parent_class = g_type_class_ref (GST_TYPE_BASE_SINK); gobject_class->set_property = gst_cacasink_set_property; gobject_class->get_property = gst_cacasink_get_property; @@ -240,7 +240,7 @@ gst_cacasink_init (GstCACASink * cacasink) { GstPad *pad; - pad = GST_BASESINK_PAD (cacasink); + pad = GST_BASE_SINK_PAD (cacasink); /* gst_pad_set_fixatecaps_function (pad, gst_cacasink_fixate); */ cacasink->screen_width = GST_CACA_DEFAULT_SCREEN_WIDTH; diff --git a/ext/shout2/gstshout2.c b/ext/shout2/gstshout2.c index 513390ea..fb6f9c11 100644 --- a/ext/shout2/gstshout2.c +++ b/ext/shout2/gstshout2.c @@ -136,7 +136,7 @@ gst_shout2send_get_type (void) }; shout2send_type = - g_type_register_static (GST_TYPE_BASESINK, "GstShout2send", + g_type_register_static (GST_TYPE_BASE_SINK, "GstShout2send", &shout2send_info, 0); g_type_add_interface_static (shout2send_type, GST_TYPE_TAG_SETTER, @@ -166,7 +166,7 @@ gst_shout2send_class_init (GstShout2sendClass * klass) gobject_class = (GObjectClass *) klass; gstbasesink_class = (GstBaseSinkClass *) klass; - parent_class = g_type_class_ref (GST_TYPE_BASESINK); + parent_class = g_type_class_ref (GST_TYPE_BASE_SINK); gobject_class->set_property = gst_shout2send_set_property; gobject_class->get_property = gst_shout2send_get_property; @@ -216,7 +216,7 @@ gst_shout2send_init (GstShout2send * shout2send) { GstPad *pad; - pad = GST_BASESINK_PAD (shout2send); + pad = GST_BASE_SINK_PAD (shout2send); gst_pad_set_setcaps_function (pad, gst_shout2send_setcaps); shout2send->clock = NULL; -- cgit