mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
rtph26xpay: Avoid print when there is no bundle at end of packet
This commit is contained in:
parent
97f2fb4cc8
commit
6fed30c48e
2 changed files with 2 additions and 2 deletions
|
@ -1629,7 +1629,7 @@ gst_rtp_h264_pay_handle_buffer (GstRTPBasePayload * basepayload,
|
|||
g_array_set_size (nal_queue, 0);
|
||||
}
|
||||
|
||||
if (ret == GST_FLOW_OK &&
|
||||
if (ret == GST_FLOW_OK && rtph264pay->bundle_size > 0 &&
|
||||
rtph264pay->aggregate_mode == GST_RTP_H264_AGGREGATE_ZERO_LATENCY &&
|
||||
rtph264pay->bundle_contains_vcl) {
|
||||
GST_DEBUG_OBJECT (rtph264pay, "sending bundle at end incoming packet");
|
||||
|
|
|
@ -1648,7 +1648,7 @@ gst_rtp_h265_pay_handle_buffer (GstRTPBasePayload * basepayload,
|
|||
g_array_set_size (nal_queue, 0);
|
||||
}
|
||||
|
||||
if (ret == GST_FLOW_OK &&
|
||||
if (ret == GST_FLOW_OK && rtph265pay->bundle_size > 0 &&
|
||||
rtph265pay->aggregate_mode == GST_RTP_H265_AGGREGATE_ZERO_LATENCY &&
|
||||
rtph265pay->bundle_contains_vcl) {
|
||||
GST_DEBUG_OBJECT (rtph265pay, "sending bundle at end incoming packet");
|
||||
|
|
Loading…
Reference in a new issue