A small fix

Original commit message from CVS:
A small fix
This commit is contained in:
Zeeshan Ali 2005-10-31 12:09:19 +00:00
parent d23d907a86
commit 4771dfa4ca
2 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2005-10-31 Zeeshan Ali <zeenix@gmail.com>
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_push):
A small fix
2005-10-31 Wim Taymans <wim@fluendo.com>
* gst-libs/gst/audio/gstringbuffer.h:

View file

@ -272,9 +272,11 @@ gst_base_rtp_depayload_push (GstBaseRTPDepayload * filter, GstBuffer * rtp_buf)
out_buf = bclass->process (filter, rtp_buf);
if (out_buf) {
/* set the caps */
srccaps = gst_pad_get_caps (filter->srcpad);
gst_buffer_set_caps (GST_BUFFER (out_buf), srccaps);
gst_caps_unref (srccaps);
srccaps = GST_PAD_CAPS (filter->srcpad);
if (srccaps)
gst_buffer_set_caps (GST_BUFFER (out_buf), srccaps);
/* set the timestamp
* I am assuming here that the timestamp of the last RTP buffer
* is the same as the timestamp wanted on the collector