Lines Matching refs:avail
177 guint avail; in gst_rtp_mpa_pay_flush() local
189 avail = gst_adapter_available (rtpmpapay->adapter); in gst_rtp_mpa_pay_flush()
194 gst_buffer_list_new_sized (avail / (GST_RTP_BASE_PAYLOAD_MTU (rtpmpapay) - in gst_rtp_mpa_pay_flush()
198 while (avail > 0) { in gst_rtp_mpa_pay_flush()
207 packet_len = gst_rtp_buffer_calc_packet_len (4 + avail, 0, 0); in gst_rtp_mpa_pay_flush()
237 avail -= payload_len; in gst_rtp_mpa_pay_flush()
240 if (avail == 0) in gst_rtp_mpa_pay_flush()
265 guint size, avail; in gst_rtp_mpa_pay_handle_buffer() local
280 avail = gst_adapter_available (rtpmpapay->adapter); in gst_rtp_mpa_pay_handle_buffer()
284 packet_len = gst_rtp_buffer_calc_packet_len (4 + avail + size, 0, 0); in gst_rtp_mpa_pay_handle_buffer()
291 avail = 0; in gst_rtp_mpa_pay_handle_buffer()
296 if (avail == 0) { in gst_rtp_mpa_pay_handle_buffer()