From 2ba135f61472c28205d922255c5209e56eed11f5 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 24 Jan 2007 11:29:00 +0000 Subject: gst/qtdemux/gstrtpxqtdepay.c: Fix caps on the depayloader. Original commit message from CVS: * gst/qtdemux/gstrtpxqtdepay.c: Fix caps on the depayloader. --- ChangeLog | 5 +++++ gst/qtdemux/gstrtpxqtdepay.c | 10 ++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 26210125..1da62497 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-01-24 Wim Taymans + + * gst/qtdemux/gstrtpxqtdepay.c: + Fix caps on the depayloader. + 2007-01-17 Tim-Philipp Müller * ext/mythtv/gstmythtvsrc.c: (gst_mythtv_src_set_property): diff --git a/gst/qtdemux/gstrtpxqtdepay.c b/gst/qtdemux/gstrtpxqtdepay.c index 36b580da..30e4ce3b 100644 --- a/gst/qtdemux/gstrtpxqtdepay.c +++ b/gst/qtdemux/gstrtpxqtdepay.c @@ -89,15 +89,13 @@ GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_CAPS_ANY); static GstStaticPadTemplate gst_rtp_xqt_depay_sink_template = - GST_STATIC_PAD_TEMPLATE ("sink", +GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, GST_STATIC_CAPS ("application/x-rtp, " - "media = (string) \"video\", clock-rate = (int) [1, MAX], " - "encoding-name = (string) \"X-QT\";" - "application/x-rtp, " - "media = (string) \"video\", clock-rate = (int) [1, MAX], " - "encoding-name = (string) \"X-QUICKTIME\"") + "payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", " + "media = (string) { \"audio\", \"video\" }, clock-rate = (int) [1, MAX], " + "encoding-name = (string) { \"X-QT\", \"X-QUICKTIME\" }") ); GST_BOILERPLATE (GstRtpXQTDepay, gst_rtp_xqt_depay, GstBaseRTPDepayload, -- cgit v1.2.1