{
GstRtpH265Pay *rtph265pay = (GstRtpH265Pay *) basepayload;
GstFlowReturn ret;
- guint payload_len;
+ guint max_fragment_size;
GstBuffer *outbuf;
GstBufferList *outlist = NULL;
guint fragment_size;
size);
/* We keep 3 bytes for PayloadHdr and FU Header */
- payload_len = gst_rtp_buffer_calc_payload_len (mtu - 3, 0, 0);
+ max_fragment_size = gst_rtp_buffer_calc_payload_len (mtu - 3, 0, 0);
outlist = gst_buffer_list_new ();
while (end == 0) {
- fragment_size = size < payload_len ? size : payload_len;
+ fragment_size = size < max_fragment_size ? size : max_fragment_size;
GST_DEBUG_OBJECT (basepayload,
"Inside FU fragmentation fragment_size=%d iteration=%d",
fragment_size, ii);