Commit 06b2bbd8 authored by Jan Alexander Steffens's avatar Jan Alexander Steffens Committed by Nicolas Dufresne

rtph265pay: Only mark the last fragment of an AU

Commit e721071d removed the check for
the end of fragmentation. As a result, all fragments of an AU's last
NALU were marked.
parent 798f320b
...@@ -1068,7 +1068,7 @@ gst_rtp_h265_pay_payload_nal (GstRTPBasePayload * basepayload, ...@@ -1068,7 +1068,7 @@ gst_rtp_h265_pay_payload_nal (GstRTPBasePayload * basepayload,
/* If it's the last fragment and the end of this au, mark the end of /* If it's the last fragment and the end of this au, mark the end of
* slice */ * slice */
gst_rtp_buffer_set_marker (&rtp, marker); gst_rtp_buffer_set_marker (&rtp, end && marker);
/* FU Header */ /* FU Header */
payload[2] = (start << 7) | (end << 6) | (nalType & 0x3f); payload[2] = (start << 7) | (end << 6) | (nalType & 0x3f);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment