mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
renamed private to element_private, to make obvious its usage restrictions
Original commit message from CVS: renamed private to element_private, to make obvious its usage restrictions
This commit is contained in:
parent
60daf21ed4
commit
558e9f4308
2 changed files with 7 additions and 7 deletions
|
@ -1126,14 +1126,14 @@ gst_pad_select(GstPad *nextpad, ...) {
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
gst_pad_set_private (GstPad *pad, gpointer private)
|
gst_pad_set_element_private (GstPad *pad, gpointer private)
|
||||||
{
|
{
|
||||||
pad->private = private;
|
pad->element_private = private;
|
||||||
}
|
}
|
||||||
|
|
||||||
gpointer
|
gpointer
|
||||||
gst_pad_get_private (GstPad *pad)
|
gst_pad_get_element_private (GstPad *pad)
|
||||||
{
|
{
|
||||||
return pad->private;
|
return pad->element_private;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,7 @@ struct _GstPad {
|
||||||
|
|
||||||
gchar *name;
|
gchar *name;
|
||||||
GList *caps;
|
GList *caps;
|
||||||
gpointer private;
|
gpointer element_private;
|
||||||
|
|
||||||
cothread_state *threadstate;
|
cothread_state *threadstate;
|
||||||
|
|
||||||
|
@ -183,8 +183,8 @@ gboolean gst_pad_check_compatibility (GstPad *srcpad, GstPad *sinkpad);
|
||||||
void gst_pad_set_name (GstPad *pad, const gchar *name);
|
void gst_pad_set_name (GstPad *pad, const gchar *name);
|
||||||
const gchar* gst_pad_get_name (GstPad *pad);
|
const gchar* gst_pad_get_name (GstPad *pad);
|
||||||
|
|
||||||
void gst_pad_set_private (GstPad *pad, gpointer private);
|
void gst_pad_set_element_private (GstPad *pad, gpointer private);
|
||||||
gpointer gst_pad_get_private (GstPad *pad);
|
gpointer gst_pad_get_element_private (GstPad *pad);
|
||||||
|
|
||||||
void gst_pad_set_parent (GstPad *pad, GstObject *parent);
|
void gst_pad_set_parent (GstPad *pad, GstObject *parent);
|
||||||
GstObject* gst_pad_get_parent (GstPad *pad);
|
GstObject* gst_pad_get_parent (GstPad *pad);
|
||||||
|
|
Loading…
Reference in a new issue