mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
rtph265pay: Don't wait for next nal when input is aligned
This is the same as what was done on rtph264pay in the patch
d5d28055c1
This commit is contained in:
parent
0524e6f8cd
commit
d397cf6d1f
1 changed files with 3 additions and 1 deletions
|
@ -1241,7 +1241,9 @@ gst_rtp_h265_pay_handle_buffer (GstRTPBasePayload * basepayload,
|
||||||
*/
|
*/
|
||||||
next = next_start_code (data, size);
|
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 &&
|
||||||
|
rtph265pay->alignment == GST_H265_ALIGNMENT_UNKNOWN) {
|
||||||
/* Didn't find the start of next NAL and it's not EOS,
|
/* Didn't find the start of next NAL and it's not EOS,
|
||||||
* handle it next time */
|
* handle it next time */
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue