Commit d5d28055 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

rtph264pay: unbreak au aligned byte-stream payloading

parent dd9f7168
......@@ -1141,7 +1141,9 @@ gst_rtp_h264_pay_handle_buffer (GstRTPBasePayload * basepayload,
*/
next = next_start_code (data, size);
if (next == size && buffer != NULL) {
/* nal or au aligned input needs no delaying until next time */
if (next == size && buffer != NULL &&
rtph264pay->alignment == GST_H264_ALIGNMENT_UNKNOWN) {
/* Didn't find the start of next NAL and it's not EOS,
* handle it next time */
break;
......
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