projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd9f716
)
rtph264pay: unbreak au aligned byte-stream payloading
author
Mark Nauwelaerts
<mnauw@users.sourceforge.net>
Sun, 3 Aug 2014 10:33:32 +0000
(12:33 +0200)
committer
Mark Nauwelaerts
<mnauw@users.sourceforge.net>
Sun, 3 Aug 2014 12:42:45 +0000
(14:42 +0200)
gst/rtp/gstrtph264pay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtph264pay.c
b/gst/rtp/gstrtph264pay.c
index
d3e319b
..
c451c71
100644
(file)
--- a/
gst/rtp/gstrtph264pay.c
+++ b/
gst/rtp/gstrtph264pay.c
@@
-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;