mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
v4l2: Remove misleading comments
gst_pad_template_new() does not take ownership of the caps
This commit is contained in:
parent
efed059b9a
commit
dbb4849a32
3 changed files with 0 additions and 3 deletions
|
@ -1153,7 +1153,6 @@ gst_v4l2_transform_subclass_init (gpointer g_class, gpointer data)
|
||||||
|
|
||||||
klass->default_device = cdata->device;
|
klass->default_device = cdata->device;
|
||||||
|
|
||||||
/* Note: gst_pad_template_new() take the floating ref from the caps */
|
|
||||||
gst_element_class_add_pad_template (element_class,
|
gst_element_class_add_pad_template (element_class,
|
||||||
gst_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS,
|
gst_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS,
|
||||||
cdata->sink_caps));
|
cdata->sink_caps));
|
||||||
|
|
|
@ -1034,7 +1034,6 @@ gst_v4l2_video_dec_subclass_init (gpointer g_class, gpointer data)
|
||||||
|
|
||||||
klass->default_device = cdata->device;
|
klass->default_device = cdata->device;
|
||||||
|
|
||||||
/* Note: gst_pad_template_new() take the floating ref from the caps */
|
|
||||||
gst_element_class_add_pad_template (element_class,
|
gst_element_class_add_pad_template (element_class,
|
||||||
gst_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS,
|
gst_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS,
|
||||||
cdata->sink_caps));
|
cdata->sink_caps));
|
||||||
|
|
|
@ -1128,7 +1128,6 @@ gst_v4l2_video_enc_subclass_init (gpointer g_class, gpointer data)
|
||||||
klass->default_device = cdata->device;
|
klass->default_device = cdata->device;
|
||||||
klass->codec = cdata->codec;
|
klass->codec = cdata->codec;
|
||||||
|
|
||||||
/* Note: gst_pad_template_new() take the floating ref from the caps */
|
|
||||||
gst_element_class_add_pad_template (element_class,
|
gst_element_class_add_pad_template (element_class,
|
||||||
gst_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS,
|
gst_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS,
|
||||||
cdata->sink_caps));
|
cdata->sink_caps));
|
||||||
|
|
Loading…
Reference in a new issue