mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
rtph264pay: unbreak au aligned byte-stream payloading
This commit is contained in:
parent
dd9f716892
commit
d5d28055c1
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue