[gst-devel] GstCaps structure doesn't have padding

Benjamin Otte in7y118 at public.uni-hamburg.de
Wed Mar 10 08:30:33 CET 2004


I've started to mark all bugs that must be fixed before 0.8.0 or not at all 
because they change API as blockers in bugzilla.

Benjamin


Quoting David Schleef <ds at schleef.org>:

> While I was playing with some ideas to do fixating correctly
> in 0.9, I realized that GstCaps and GstStructure do not have
> padding.  Oops.
> 
> I'd like to apply this patch (which is obviously an ABI change)
> as part of the transition to 0.8.
> 
> 
> 
> dave...
> 
> 
> Index: gstcaps.h
> ===================================================================
> RCS file: /home/cvs/gstreamer/gstreamer/gst/gstcaps.h,v
> retrieving revision 1.68
> diff -u -r1.68 gstcaps.h
> --- a/gstcaps.h	7 Feb 2004 15:37:21 -0000	1.68
> +++ b/gstcaps.h	9 Mar 2004 01:37:35 -0000
> @@ -37,6 +37,8 @@
>  
>    guint16 flags;
>    GPtrArray *structs;
> +
> +  gpointer _gst_reserved[GST_PADDING];
>  };
>  
>  struct _GstStaticCaps {
> Index: gststructure.h
> ===================================================================
> RCS file: /home/cvs/gstreamer/gstreamer/gst/gststructure.h,v
> retrieving revision 1.9
> diff -u -r1.9 gststructure.h
> --- a/gststructure.h	18 Feb 2004 05:26:59 -0000	1.9
> +++ b/gststructure.h	9 Mar 2004 01:37:35 -0000
> @@ -36,6 +36,8 @@
>    GQuark name;
>  
>    GArray *fields;
> +
> +  gpointer _gst_reserved[GST_PADDING];
>  };
>  
>  #define GST_TYPE_STRUCTURE (gst_structure_get_type())
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 






More information about the gstreamer-devel mailing list