hevc_data->using_donl_field = 1;
#ifdef DEBUG
- av_log(s, AV_LOG_DEBUG, "SDP: found sprop-max-don-diff in SDP, DON field usage is: %d\n", hevc_data->using_dons);
+ av_log(s, AV_LOG_DEBUG, "SDP: found sprop-max-don-diff in SDP, DON field usage is: %d\n", hevc_data->using_donl_field);
#endif
}
hevc_data->using_donl_field = 1;
#ifdef DEBUG
- av_log(s, AV_LOG_DEBUG, "SDP: found sprop-depack-buf-nalus in SDP, DON field usage is: %d\n", hevc_data->using_dons);
+ av_log(s, AV_LOG_DEBUG, "SDP: found sprop-depack-buf-nalus in SDP, DON field usage is: %d\n", hevc_data->using_donl_field);
#endif
}
/* A/V packet: copy NAL unit data */
memcpy(pkt->data + sizeof(start_sequence), buf, len);
- COUNT_HEVC_NAL_TYPE(data, nal_type);
+ COUNT_HEVC_NAL_TYPE(rtp_hevc_ctx, nal_type);
break;
/* fragmentation unit (FU) */
}
if(!res){
- COUNT_HEVC_NAL_TYPE(data, fu_type);
+ COUNT_HEVC_NAL_TYPE(rtp_hevc_ctx, fu_type);
}
break;