• Home
  • Raw
  • Download

Lines Matching refs:demux

203 gst_multipart_demux_remove_src_pads (GstMultipartDemux * demux)  in gst_multipart_demux_remove_src_pads()  argument
205 while (demux->srcpads != NULL) { in gst_multipart_demux_remove_src_pads()
206 GstMultipartPad *mppad = demux->srcpads->data; in gst_multipart_demux_remove_src_pads()
208 gst_element_remove_pad (GST_ELEMENT (demux), mppad->pad); in gst_multipart_demux_remove_src_pads()
211 demux->srcpads = g_slist_delete_link (demux->srcpads, demux->srcpads); in gst_multipart_demux_remove_src_pads()
213 demux->srcpads = NULL; in gst_multipart_demux_remove_src_pads()
214 demux->numpads = 0; in gst_multipart_demux_remove_src_pads()
220 GstMultipartDemux *demux = GST_MULTIPART_DEMUX (object); in gst_multipart_demux_dispose() local
222 if (demux->adapter != NULL) in gst_multipart_demux_dispose()
223 g_object_unref (demux->adapter); in gst_multipart_demux_dispose()
224 demux->adapter = NULL; in gst_multipart_demux_dispose()
225 g_free (demux->boundary); in gst_multipart_demux_dispose()
226 demux->boundary = NULL; in gst_multipart_demux_dispose()
227 g_free (demux->mime_type); in gst_multipart_demux_dispose()
228 demux->mime_type = NULL; in gst_multipart_demux_dispose()
229 gst_multipart_demux_remove_src_pads (demux); in gst_multipart_demux_dispose()
235 gst_multipart_demux_get_gstname (GstMultipartDemux * demux, gchar * mimetype) in gst_multipart_demux_get_gstname() argument
240 klass = GST_MULTIPART_DEMUX_GET_CLASS (demux); in gst_multipart_demux_get_gstname()
248 GST_DEBUG_OBJECT (demux, "gst name for %s is %s", mimetype, gstname); in gst_multipart_demux_get_gstname()
253 gst_multipart_combine_flows (GstMultipartDemux * demux, GstMultipartPad * pad, in gst_multipart_combine_flows() argument
267 for (walk = demux->srcpads; walk; walk = g_slist_next (walk)) { in gst_multipart_combine_flows()
283 gst_multipart_find_pad_by_mime (GstMultipartDemux * demux, gchar * mime, in gst_multipart_find_pad_by_mime() argument
288 walk = demux->srcpads; in gst_multipart_find_pad_by_mime()
313 GST_DEBUG_OBJECT (demux, "creating pad with mime: %s", mime); in gst_multipart_find_pad_by_mime()
315 name = g_strdup_printf ("src_%u", demux->numpads); in gst_multipart_find_pad_by_mime()
327 demux->srcpads = g_slist_prepend (demux->srcpads, mppad); in gst_multipart_find_pad_by_mime()
328 demux->numpads++; in gst_multipart_find_pad_by_mime()
334 if (!demux->have_group_id) { in gst_multipart_find_pad_by_mime()
335 event = gst_pad_get_sticky_event (demux->sinkpad, in gst_multipart_find_pad_by_mime()
339 demux->have_group_id = in gst_multipart_find_pad_by_mime()
340 gst_event_parse_group_id (event, &demux->group_id); in gst_multipart_find_pad_by_mime()
342 } else if (!demux->have_group_id) { in gst_multipart_find_pad_by_mime()
343 demux->have_group_id = TRUE; in gst_multipart_find_pad_by_mime()
344 demux->group_id = gst_util_group_id_next (); in gst_multipart_find_pad_by_mime()
349 GST_ELEMENT_CAST (demux), demux->mime_type); in gst_multipart_find_pad_by_mime()
352 if (demux->have_group_id) in gst_multipart_find_pad_by_mime()
353 gst_event_set_group_id (event, demux->group_id); in gst_multipart_find_pad_by_mime()
360 capsname = gst_multipart_demux_get_gstname (demux, mime); in gst_multipart_find_pad_by_mime()
362 GST_DEBUG_OBJECT (demux, "caps for pad: %s", capsname); in gst_multipart_find_pad_by_mime()
364 gst_element_add_pad (GST_ELEMENT_CAST (demux), pad); in gst_multipart_find_pad_by_mime()
371 if (demux->singleStream) { in gst_multipart_find_pad_by_mime()
372 gst_element_no_more_pads (GST_ELEMENT_CAST (demux)); in gst_multipart_find_pad_by_mime()