v4l2: Remove misleading comments

gst_pad_template_new() does not take ownership of the caps
This commit is contained in:
Seungha Yang 2019-07-09 19:49:57 +09:00
parent efed059b9a
commit dbb4849a32
3 changed files with 0 additions and 3 deletions

View file

@ -1153,7 +1153,6 @@ gst_v4l2_transform_subclass_init (gpointer g_class, gpointer data)
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_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS,
cdata->sink_caps));

View file

@ -1034,7 +1034,6 @@ gst_v4l2_video_dec_subclass_init (gpointer g_class, gpointer data)
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_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS,
cdata->sink_caps));

View file

@ -1128,7 +1128,6 @@ gst_v4l2_video_enc_subclass_init (gpointer g_class, gpointer data)
klass->default_device = cdata->device;
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_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS,
cdata->sink_caps));