add recipes for GStreamer release 1.6.0 core + plugins
[opendreambox.git] / meta-opendreambox / recipes-multimedia / gstreamer / gstreamer1.0-plugins-bad / videoaggregator-glib.patch
1 @@ -, +, @@ 
2  gst-libs/gst/video/gstvideoaggregator.c | 14 ++++----------
3  1 file changed, 4 insertions(+), 10 deletions(-)
4 --- a/gst-libs/gst/video/gstvideoaggregator.c   
5 +++ a/gst-libs/gst/video/gstvideoaggregator.c   
6 @@ -438,25 +438,17 @@ static void gst_videoaggregator_init (GstVideoAggregator * self,
7      GstVideoAggregatorClass * klass);
8  static void gst_videoaggregator_class_init (GstVideoAggregatorClass * klass);
9  static gpointer gst_videoaggregator_parent_class = NULL;
10 -static gint GstVideoAggregator_private_offset;
11 -
12 -_G_DEFINE_TYPE_EXTENDED_CLASS_INIT (GstVideoAggregator, gst_videoaggregator);
13 -
14 -G_GNUC_UNUSED static inline gpointer
15 -gst_videoaggregator_get_instance_private (const GstVideoAggregator * self)
16 -{
17 -  return (G_STRUCT_MEMBER_P (self, GstVideoAggregator_private_offset));
18 -}
19  
20  GType
21  gst_videoaggregator_get_type (void)
22  {
23    static volatile gsize g_define_type_id_volatile = 0;
24 +
25    if (g_once_init_enter (&g_define_type_id_volatile)) {
26      GType g_define_type_id = g_type_register_static_simple (GST_TYPE_AGGREGATOR,
27          g_intern_static_string ("GstVideoAggregator"),
28          sizeof (GstVideoAggregatorClass),
29 -        (GClassInitFunc) gst_videoaggregator_class_intern_init,
30 +        (GClassInitFunc) gst_videoaggregator_class_init,
31          sizeof (GstVideoAggregator),
32          (GInstanceInitFunc) gst_videoaggregator_init,
33          (GTypeFlags) G_TYPE_FLAG_ABSTRACT);
34 @@ -2079,6 +2071,8 @@ gst_videoaggregator_class_init (GstVideoAggregatorClass * klass)
35    GST_DEBUG_CATEGORY_INIT (gst_videoaggregator_debug, "videoaggregator", 0,
36        "base video aggregator");
37  
38 +  gst_videoaggregator_parent_class = g_type_class_peek_parent (klass);
39 +
40    g_type_class_add_private (klass, sizeof (GstVideoAggregatorPrivate));
41  
42    gobject_class->finalize = gst_videoaggregator_finalize;