Home
last modified time | relevance | path

Searched refs:padtempl (Results 1 – 4 of 4) sorted by relevance

/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstghostpad.c585 GstPadTemplate *padtempl, *ghosttempl; in GST_START_TEST() local
593 padtempl = gst_pad_template_new ("padtempl", GST_PAD_SINK, in GST_START_TEST()
595 fail_unless (padtempl != NULL); in GST_START_TEST()
599 sinkpad = gst_pad_new_from_template (padtempl, "sinkpad"); in GST_START_TEST()
619 gst_object_unref (padtempl); in GST_START_TEST()
628 GstPadTemplate *padtempl, *ghosttempl; in GST_START_TEST() local
636 padtempl = gst_pad_template_new ("padtempl", GST_PAD_SINK, in GST_START_TEST()
638 fail_unless (padtempl != NULL); in GST_START_TEST()
642 sinkpad = gst_pad_new_from_template (padtempl, "sinkpad"); in GST_START_TEST()
668 gst_object_unref (padtempl); in GST_START_TEST()
/third_party/gstreamer/gstplugins_base/gst/encoding/
Dgstencodebasebin.c1099 GstPadTemplate *padtempl = padl->data; in get_compatible_muxer_sink_pad() local
1101 if (padtempl->direction == GST_PAD_SRC) in get_compatible_muxer_sink_pad()
1104 if (!gst_caps_can_intersect (GST_PAD_TEMPLATE_CAPS (padtempl), sinkcaps)) in get_compatible_muxer_sink_pad()
1107 if (!gst_caps_is_any (GST_PAD_TEMPLATE_CAPS (padtempl))) { in get_compatible_muxer_sink_pad()
1108 compatible_templates = g_list_append (compatible_templates, padtempl); in get_compatible_muxer_sink_pad()
1119 compatible_templates = g_list_prepend (compatible_templates, padtempl); in get_compatible_muxer_sink_pad()
1123 if (strstr (padtempl->name_template, type_name) == padtempl->name_template) in get_compatible_muxer_sink_pad()
1124 compatible_templates = g_list_prepend (compatible_templates, padtempl); in get_compatible_muxer_sink_pad()
1125 else if (!strstr (padtempl->name_template, other_type_name)) in get_compatible_muxer_sink_pad()
1126 compatible_templates = g_list_append (compatible_templates, padtempl); in get_compatible_muxer_sink_pad()
[all …]
/third_party/gstreamer/gstreamer/gst/
Dgstutils.c901 GstPadTemplate *padtempl = (GstPadTemplate *) padlist->data; in gst_element_create_all_pads() local
903 if (padtempl->presence == GST_PAD_ALWAYS) { in gst_element_create_all_pads()
906 pad = gst_pad_new_from_template (padtempl, padtempl->name_template); in gst_element_create_all_pads()
948 GstPadTemplate *padtempl = (GstPadTemplate *) padlist->data; in gst_element_get_compatible_pad_template() local
956 "checking pad template %s", padtempl->name_template); in gst_element_get_compatible_pad_template()
957 if (padtempl->direction != compattempl->direction) { in gst_element_get_compatible_pad_template()
960 padtempl->direction == GST_PAD_SRC ? "src" : "sink", in gst_element_get_compatible_pad_template()
961 padtempl->name_template); in gst_element_get_compatible_pad_template()
966 "..and %" GST_PTR_FORMAT, GST_PAD_TEMPLATE_CAPS (padtempl)); in gst_element_get_compatible_pad_template()
969 GST_PAD_TEMPLATE_CAPS (padtempl)); in gst_element_get_compatible_pad_template()
[all …]
Dgstelement.c1517 GstPadTemplate *padtempl = (GstPadTemplate *) template_list->data; in gst_element_class_add_pad_template() local
1520 if (strcmp (templ->name_template, padtempl->name_template) == 0) { in gst_element_class_add_pad_template()
1521 gst_object_ref_sink (padtempl); in gst_element_class_add_pad_template()
1522 gst_object_unref (padtempl); in gst_element_class_add_pad_template()
1816 GstPadTemplate *padtempl = (GstPadTemplate *) padlist->data; in gst_element_class_get_pad_template() local
1818 if (strcmp (padtempl->name_template, name) == 0) in gst_element_class_get_pad_template()
1819 return padtempl; in gst_element_class_get_pad_template()