summaryrefslogtreecommitdiffstats
path: root/gst/rtp
diff options
context:
space:
mode:
authorPhilippe Kalaf <philippe.kalaf@collabora.co.uk>2006-05-18 14:45:33 +0000
committerPhilippe Kalaf <philippe.kalaf@collabora.co.uk>2006-05-18 14:45:33 +0000
commitc946b4fe6f595cdd2cec4bc4e00c2682420801ad (patch)
treea1ba382bf44b92057358535af081f6e506849727 /gst/rtp
parentcb3848d2452a483d9e633faade6f52d4a9815b70 (diff)
rtp/gst/gstrtph263pay.c: Properly set static caps for H263 at 34.
Original commit message from CVS: 2006-05-18 Philippe Kalaf <philippe.kalaf at collabora.co.uk> * rtp/gst/gstrtph263pay.c: Properly set static caps for H263 at 34.
Diffstat (limited to 'gst/rtp')
-rw-r--r--gst/rtp/gstrtph263pay.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/rtp/gstrtph263pay.c b/gst/rtp/gstrtph263pay.c
index 6291e562..ba20b461 100644
--- a/gst/rtp/gstrtph263pay.c
+++ b/gst/rtp/gstrtph263pay.c
@@ -158,7 +158,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("application/x-rtp, "
"media = (string) \"video\", "
- "payload = (int) 34, "
+ "payload = (int) " GST_RTP_PAYLOAD_H263_STRING ", "
"clock-rate = (int) 90000, " "encoding-name = (string) \"H263\"")
);
@@ -253,7 +253,8 @@ gst_rtp_h263_pay_finalize (GObject * object)
static gboolean
gst_rtp_h263_pay_setcaps (GstBaseRTPPayload * payload, GstCaps * caps)
{
- gst_basertppayload_set_options (payload, "video", TRUE, "H263-1998", 90000);
+ payload->pt = GST_RTP_PAYLOAD_H263;
+ gst_basertppayload_set_options (payload, "video", TRUE, "H263", 90000);
gst_basertppayload_set_outcaps (payload, NULL);
return TRUE;