All pastes #740009 Raw Edit

Something

public text v1 · immutable
·published 2007-10-17 17:01 UTC
rendered paste body
--- gst-plugins-good/gst/rtp/gstrtph264pay.c    19 Jun 2007 11:26:08 -0000      1.1.1.1
+++ gst-plugins-good/gst/rtp/gstrtph264pay.c    17 Oct 2007 17:00:42 -0000
@@ -235,7 +235,6 @@
 
       outbuf = gst_rtp_buffer_new_allocate (limitedSize + 2, 0, 0);
       GST_BUFFER_TIMESTAMP (outbuf) = timestamp;
-      gst_rtp_buffer_set_marker (outbuf, end);
       payload = gst_rtp_buffer_get_payload (outbuf);
 
       if (limitedSize == idxdata) {
@@ -243,6 +242,7 @@
             ii);
         end = 1;
       }
+      gst_rtp_buffer_set_marker (outbuf, end);
 
       /* FU indicator */
       payload[0] = (nalHeader & 0x60) | 28;