+2007-02-15 Wim Taymans <wim@fluendo.com>
+
+ * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_process):
+ Set right caps on output buffers.
+
2007-02-14 Wim Taymans <wim@fluendo.com>
* gst/rtsp/sdpmessage.c: (sdp_parse_line):
GST_BUFFER_DATA (outbuf) = outdata;
GST_BUFFER_MALLOCDATA (outbuf) = outdata;
- gst_buffer_set_caps (outbuf,
- (GstCaps *) gst_pad_get_pad_template_caps (depayload->srcpad));
+ gst_buffer_set_caps (outbuf, GST_PAD_CAPS (depayload->srcpad));
GST_DEBUG_OBJECT (rtph264depay, "output %d bytes", outsize);
outdata[2] = 1;
memcpy (&outdata[3], payload, payload_len);
- gst_buffer_set_caps (outbuf,
- (GstCaps *) gst_pad_get_pad_template_caps (depayload->srcpad));
+ gst_buffer_set_caps (outbuf, GST_PAD_CAPS (depayload->srcpad));
return outbuf;
}