• Home
  • Raw
  • Download

Lines Matching refs:bin

54 gst_camerabin_add_element (GstBin * bin, GstElement * new_elem)  in gst_camerabin_add_element()  argument
56 return gst_camerabin_add_element_full (bin, NULL, new_elem, NULL); in gst_camerabin_add_element()
74 gst_camerabin_add_element_full (GstBin * bin, const gchar * srcpad, in gst_camerabin_add_element_full() argument
79 g_return_val_if_fail (bin, FALSE); in gst_camerabin_add_element_full()
82 ret = gst_camerabin_try_add_element (bin, srcpad, new_elem, dstpad); in gst_camerabin_add_element_full()
86 GST_ELEMENT_ERROR (bin, CORE, NEGOTIATION, (NULL), in gst_camerabin_add_element_full()
109 gst_camerabin_try_add_element (GstBin * bin, const gchar * srcpad, in gst_camerabin_try_add_element() argument
116 g_return_val_if_fail (bin, FALSE); in gst_camerabin_try_add_element()
120 bin_pad = gst_bin_find_unlinked_pad (bin, GST_PAD_SRC); in gst_camerabin_try_add_element()
122 gst_bin_add (GST_BIN (bin), new_elem); in gst_camerabin_try_add_element()
125 GST_DEBUG_OBJECT (bin, "linking %s to %s:%s", GST_OBJECT_NAME (new_elem), in gst_camerabin_try_add_element()
132 gst_bin_remove (bin, new_elem); in gst_camerabin_try_add_element()
137 GST_INFO_OBJECT (bin, "no unlinked source pad in bin"); in gst_camerabin_try_add_element()
156 gst_camerabin_create_and_add_element (GstBin * bin, const gchar * elem_name, in gst_camerabin_create_and_add_element() argument
161 g_return_val_if_fail (bin, FALSE); in gst_camerabin_create_and_add_element()
166 GST_ELEMENT_ERROR (bin, CORE, MISSING_PLUGIN, in gst_camerabin_create_and_add_element()
169 } else if (!gst_camerabin_add_element (bin, new_elem)) { in gst_camerabin_create_and_add_element()
180 try_element (GstElement * bin, GstElement * element) in try_element() argument
187 GST_DEBUG_OBJECT (bin, "failed state change.."); in try_element()
197 gst_camerabin_setup_default_element (GstBin * bin, GstElement * user_elem, in gst_camerabin_setup_default_element() argument
204 GST_DEBUG_OBJECT (bin, "trying configured element"); in gst_camerabin_setup_default_element()
205 elem = try_element (GST_ELEMENT_CAST (bin), gst_object_ref (user_elem)); in gst_camerabin_setup_default_element()
208 GST_DEBUG_OBJECT (bin, "trying %s", auto_elem_name); in gst_camerabin_setup_default_element()
210 elem = try_element (GST_ELEMENT_CAST (bin), elem); in gst_camerabin_setup_default_element()
214 GST_DEBUG_OBJECT (bin, "trying %s", default_elem_name); in gst_camerabin_setup_default_element()
216 elem = try_element (GST_ELEMENT_CAST (bin), elem); in gst_camerabin_setup_default_element()
230 gst_camerabin_remove_elements_from_bin (GstBin * bin) in gst_camerabin_remove_elements_from_bin() argument
237 iter = gst_bin_iterate_elements (bin); in gst_camerabin_remove_elements_from_bin()
242 gst_bin_remove (bin, elem); in gst_camerabin_remove_elements_from_bin()
251 GST_WARNING_OBJECT (bin, "error in iterating elements"); in gst_camerabin_remove_elements_from_bin()