Commit 798f320b authored by Jan Alexander Steffens's avatar Jan Alexander Steffens Committed by Nicolas Dufresne

rtph264pay: Only mark the last fragment of an AU

Commit 4add820c removed the check for
the end of fragmentation. As a result, all fragments of an AU's last
NALU were marked.

Potential fix for gstreamer/gst-plugins-good#540
parent 3537c4d2
......@@ -965,7 +965,7 @@ gst_rtp_h264_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, end_of_au);
gst_rtp_buffer_set_marker (&rtp, end && end_of_au);
/* FU indicator */
payload[0] = (nalHeader & 0x60) | 28;
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