projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gstfunnel: avoid access of freed pad
[platform/upstream/gstreamer.git]
/
gst
/
gstpadtemplate.h
diff --git
a/gst/gstpadtemplate.h
b/gst/gstpadtemplate.h
index
bc2bcee
..
90f9b25
100644
(file)
--- a/
gst/gstpadtemplate.h
+++ b/
gst/gstpadtemplate.h
@@
-126,6
+126,7
@@
struct _GstPadTemplate {
GstPadPresence presence;
GstCaps *caps;
GstPadPresence presence;
GstCaps *caps;
+ /*< private >*/
gpointer _gst_reserved[GST_PADDING];
};
gpointer _gst_reserved[GST_PADDING];
};
@@
-135,10
+136,11
@@
struct _GstPadTemplateClass {
/* signal callbacks */
void (*pad_created) (GstPadTemplate *templ, GstPad *pad);
/* signal callbacks */
void (*pad_created) (GstPadTemplate *templ, GstPad *pad);
+ /*< private >*/
gpointer _gst_reserved[GST_PADDING];
};
gpointer _gst_reserved[GST_PADDING];
};
-/**
+/**
* GstStaticPadTemplate:
* @name_template: the name of the template
* @direction: the direction of the template
* GstStaticPadTemplate:
* @name_template: the name of the template
* @direction: the direction of the template
@@
-178,7
+180,7
@@
GType gst_static_pad_template_get_type (void);
GstPadTemplate* gst_pad_template_new (const gchar *name_template,
GstPadDirection direction, GstPadPresence presence,
GstPadTemplate* gst_pad_template_new (const gchar *name_template,
GstPadDirection direction, GstPadPresence presence,
- GstCaps *caps);
+ GstCaps *caps)
G_GNUC_MALLOC
;
GstPadTemplate * gst_static_pad_template_get (GstStaticPadTemplate *pad_template);
GstCaps* gst_static_pad_template_get_caps (GstStaticPadTemplate *templ);
GstPadTemplate * gst_static_pad_template_get (GstStaticPadTemplate *pad_template);
GstCaps* gst_static_pad_template_get_caps (GstStaticPadTemplate *templ);