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:
637c26f
)
Revert "rtph263depay: baseclass handles timestamps for us"
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 8 Mar 2010 11:13:32 +0000
(12:13 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 8 Mar 2010 16:48:27 +0000
(17:48 +0100)
This reverts commit
564581e1b88ecd5ec5da82c3cafb0e7a2d58b302
.
If we don't call push_ts, there will be no timestamp at all on the outgoing
buffer.
Fixes #612154
gst/rtp/gstrtph263depay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtph263depay.c
b/gst/rtp/gstrtph263depay.c
index 92e4a7626d75dfdcee86728fdc65bdfd195f7df4..489a5d08b693cc74b1a1b74b2bbbedfd56086d3f 100644
(file)
--- a/
gst/rtp/gstrtph263depay.c
+++ b/
gst/rtp/gstrtph263depay.c
@@
-301,6
+301,7
@@
gst_rtp_h263_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf)
if (rtph263depay->start) {
/* frame is completed */
guint avail;
+ guint32 timestamp;
if (rtph263depay->offset) {
/* push in the leftover */
@@
-319,7
+320,8
@@
gst_rtp_h263_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf)
GST_DEBUG ("Pushing out a buffer of %d bytes", avail);
- gst_base_rtp_depayload_push (depayload, outbuf);
+ timestamp = gst_rtp_buffer_get_timestamp (buf);
+ gst_base_rtp_depayload_push_ts (depayload, timestamp, outbuf);
rtph263depay->offset = 0;
rtph263depay->leftover = 0;
} else {