From de735968c3f13db2665aae9e5d25b40e3aed8843 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 27 Sep 2006 11:06:54 +0000 Subject: [PATCH] gst-libs/gst/rtp/gstbasertpdepayload.c: the source pad always uses fixed caps. Original commit message from CVS: * gst-libs/gst/rtp/gstbasertpdepayload.c: (gst_base_rtp_depayload_init), (gst_base_rtp_depayload_push_full), (gst_base_rtp_depayload_push_ts), (gst_base_rtp_depayload_process), (gst_base_rtp_depayload_set_gst_timestamp): the source pad always uses fixed caps. --- ChangeLog | 8 ++++++++ gst-libs/gst/rtp/gstbasertpdepayload.c | 1 + 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8794412684..f6bd49dbb5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2006-09-27 Wim Taymans + + * gst-libs/gst/rtp/gstbasertpdepayload.c: + (gst_base_rtp_depayload_init), (gst_base_rtp_depayload_push_full), + (gst_base_rtp_depayload_push_ts), (gst_base_rtp_depayload_process), + (gst_base_rtp_depayload_set_gst_timestamp): + the source pad always uses fixed caps. + 2006-09-27 Wim Taymans * docs/libs/gst-plugins-base-libs-docs.sgml: diff --git a/gst-libs/gst/rtp/gstbasertpdepayload.c b/gst-libs/gst/rtp/gstbasertpdepayload.c index 5a8bae2fea..2c7dab0cd9 100644 --- a/gst-libs/gst/rtp/gstbasertpdepayload.c +++ b/gst-libs/gst/rtp/gstbasertpdepayload.c @@ -150,6 +150,7 @@ gst_base_rtp_depayload_init (GstBaseRTPDepayload * filter, gpointer g_class) gst_element_class_get_pad_template (GST_ELEMENT_CLASS (g_class), "src"); g_return_if_fail (pad_template != NULL); filter->srcpad = gst_pad_new_from_template (pad_template, "src"); + gst_pad_use_fixed_caps (filter->srcpad); gst_element_add_pad (GST_ELEMENT (filter), filter->srcpad); filter->queue = g_queue_new ();