• Home
  • Raw
  • Download

Lines Matching refs:gdpdepay

73 GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (gdpdepay, "gdpdepay", GST_RANK_NONE,
128 gst_gdp_depay_init (GstGDPDepay * gdpdepay) in gst_gdp_depay_init() argument
130 gdpdepay->sinkpad = in gst_gdp_depay_init()
132 gst_pad_set_chain_function (gdpdepay->sinkpad, in gst_gdp_depay_init()
134 gst_pad_set_event_function (gdpdepay->sinkpad, in gst_gdp_depay_init()
136 gst_element_add_pad (GST_ELEMENT (gdpdepay), gdpdepay->sinkpad); in gst_gdp_depay_init()
138 gdpdepay->srcpad = in gst_gdp_depay_init()
140 gst_pad_set_event_function (gdpdepay->srcpad, in gst_gdp_depay_init()
143 gst_pad_use_fixed_caps (gdpdepay->srcpad); in gst_gdp_depay_init()
144 gst_element_add_pad (GST_ELEMENT (gdpdepay), gdpdepay->srcpad); in gst_gdp_depay_init()
146 gdpdepay->adapter = gst_adapter_new (); in gst_gdp_depay_init()
148 gdpdepay->allocator = NULL; in gst_gdp_depay_init()
149 gst_allocation_params_init (&gdpdepay->allocation_params); in gst_gdp_depay_init()
552 gst_gdp_depay_decide_allocation (GstGDPDepay * gdpdepay) in gst_gdp_depay_decide_allocation() argument
559 caps = gst_pad_query_caps (gdpdepay->srcpad, NULL); in gst_gdp_depay_decide_allocation()
561 GST_LOG_OBJECT (gdpdepay, in gst_gdp_depay_decide_allocation()
567 GST_LOG_OBJECT (gdpdepay, "Caps on src pad are not fixed. Not querying."); in gst_gdp_depay_decide_allocation()
572 if (!gst_pad_peer_query (gdpdepay->srcpad, query)) { in gst_gdp_depay_decide_allocation()
573 GST_WARNING_OBJECT (gdpdepay, "Peer allocation query failed."); in gst_gdp_depay_decide_allocation()
583 if (gdpdepay->allocator) in gst_gdp_depay_decide_allocation()
584 gst_object_unref (gdpdepay->allocator); in gst_gdp_depay_decide_allocation()
586 gdpdepay->allocator = allocator; in gst_gdp_depay_decide_allocation()
587 gdpdepay->allocation_params = params; in gst_gdp_depay_decide_allocation()