wtay gst-plugins-good: gst-plugins-good/ gst-plugins-good/gst/rtp/
[email protected] Mon, 8 Dec 2008 04:37:59 -0800 (PST)
| Newsgroups | gmane.comp.video.gstreamer.cvs |
|---|---|
| Message-ID | <[email protected]> |
CVS Root: /cvs/gstreamer
Module: gst-plugins-good
Changes by: wtay
Date: Mon Dec 08 2008 12:37:59 UTC
Log message:
* gst/rtp/gstrtpmp4apay.c: (gst_rtp_mp4a_pay_handle_buffer):
Copy incomming timestamp to outgoing packets.
Modified files:
. : ChangeLog
gst/rtp : gstrtpmp4apay.c
Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/ChangeLog.diff?r1=1.3850&r2=1.3851
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/gst/rtp/gstrtpmp4apay.c.diff?r1=1.3&r2=1.4
====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/ChangeLog,v
retrieving revision 1.3850
retrieving revision 1.3851
diff -u -d -r1.3850 -r1.3851
--- ChangeLog 8 Dec 2008 12:36:18 -0000 1.3850
+++ ChangeLog 8 Dec 2008 12:37:43 -0000 1.3851
@@ -1,5 +1,10 @@
2008-12-08 Wim Taymans <[email protected]>
+ * gst/rtp/gstrtpmp4apay.c: (gst_rtp_mp4a_pay_handle_buffer):
+ Copy incomming timestamp to outgoing packets.
+
+2008-12-08 Wim Taymans <[email protected]>
* gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_flush),
(gst_rtp_mp4v_pay_event):
Don't try to push packets before we could find a valid config
Index: gstrtpmp4apay.c
RCS file: /cvs/gstreamer/gst-plugins-good/gst/rtp/gstrtpmp4apay.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- gstrtpmp4apay.c 25 Nov 2008 18:02:59 -0000 1.3
+++ gstrtpmp4apay.c 8 Dec 2008 12:37:45 -0000 1.4
@@ -366,6 +366,7 @@
guint count, mtu, size;
guint8 *data;
gboolean fragmented;
+ GstClockTime timestamp;
ret = GST_FLOW_OK;
@@ -373,6 +374,7 @@
size = GST_BUFFER_SIZE (buffer);
data = GST_BUFFER_DATA (buffer);
+ timestamp = GST_BUFFER_TIMESTAMP (buffer);
fragmented = FALSE;
mtu = GST_BASE_RTP_PAYLOAD_MTU (rtpmp4apay);
@@ -432,6 +434,9 @@
/* marker only if the packet is complete */
gst_rtp_buffer_set_marker (outbuf, size == 0);
+ /* copy incomming timestamp (if any) to outgoing buffers */
+ GST_BUFFER_TIMESTAMP (outbuf) = timestamp;
ret = gst_basertppayload_push (GST_BASE_RTP_PAYLOAD (rtpmp4apay), outbuf);
fragmented = TRUE;
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/