rtph265pay: Only mark the last fragment of an AU

Commit e721071dca removed the check for
the end of fragmentation. As a result, all fragments of an AU's last
NALU were marked.
This commit is contained in:
Jan Alexander Steffens (heftig) 2019-01-09 16:25:36 +01:00 committed by Nicolas Dufresne
parent 798f320ba7
commit 06b2bbd8c7

View file

@ -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
* slice */
gst_rtp_buffer_set_marker (&rtp, marker);
gst_rtp_buffer_set_marker (&rtp, end && marker);
/* FU Header */
payload[2] = (start << 7) | (end << 6) | (nalType & 0x3f);