From 20f18abf7274698f6d0d155c49672474f95dc6cf Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 5 Mar 2007 17:08:32 +0000 Subject: gst/rtp/: Fix encoding-name case. Original commit message from CVS: * gst/rtp/gstrtpmp4gpay.c: (gst_rtp_mp4g_pay_setcaps): * gst/rtp/gstrtptheorapay.c: (gst_rtp_theora_pay_finish_headers): * gst/rtp/gstrtpvorbispay.c: (gst_rtp_vorbis_pay_finish_headers): Fix encoding-name case. --- gst/rtp/gstrtpmp4gpay.c | 2 +- gst/rtp/gstrtptheorapay.c | 2 +- gst/rtp/gstrtpvorbispay.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'gst/rtp') diff --git a/gst/rtp/gstrtpmp4gpay.c b/gst/rtp/gstrtpmp4gpay.c index 3220728f..fae66c5a 100644 --- a/gst/rtp/gstrtpmp4gpay.c +++ b/gst/rtp/gstrtpmp4gpay.c @@ -414,7 +414,7 @@ gst_rtp_mp4g_pay_setcaps (GstBaseRTPPayload * payload, GstCaps * caps) if (media_type == NULL) goto config_failed; - gst_basertppayload_set_options (payload, media_type, TRUE, "mpeg4-generic", + gst_basertppayload_set_options (payload, media_type, TRUE, "MPEG4-GENERIC", rtpmp4gpay->rate); gst_rtp_mp4g_pay_new_caps (rtpmp4gpay); diff --git a/gst/rtp/gstrtptheorapay.c b/gst/rtp/gstrtptheorapay.c index 7b4dc1bf..db8a5872 100644 --- a/gst/rtp/gstrtptheorapay.c +++ b/gst/rtp/gstrtptheorapay.c @@ -312,7 +312,7 @@ gst_rtp_theora_pay_finish_headers (GstBaseRTPPayload * basepayload) /* configure payloader settings */ wstr = g_strdup_printf ("%d", rtptheorapay->width); hstr = g_strdup_printf ("%d", rtptheorapay->height); - gst_basertppayload_set_options (basepayload, "video", TRUE, "theora", 90000); + gst_basertppayload_set_options (basepayload, "video", TRUE, "THEORA", 90000); gst_basertppayload_set_outcaps (basepayload, "sampling", G_TYPE_STRING, "YCbCr-4:2:0", "width", G_TYPE_STRING, wstr, diff --git a/gst/rtp/gstrtpvorbispay.c b/gst/rtp/gstrtpvorbispay.c index 29b8ce49..0482e0c5 100644 --- a/gst/rtp/gstrtpvorbispay.c +++ b/gst/rtp/gstrtpvorbispay.c @@ -306,7 +306,7 @@ gst_rtp_vorbis_pay_finish_headers (GstBaseRTPPayload * basepayload) /* configure payloader settings */ cstr = g_strdup_printf ("%d", rtpvorbispay->channels); - gst_basertppayload_set_options (basepayload, "audio", TRUE, "vorbis", + gst_basertppayload_set_options (basepayload, "audio", TRUE, "VORBIS", rtpvorbispay->rate); gst_basertppayload_set_outcaps (basepayload, "encoding-params", G_TYPE_STRING, cstr, "configuration", G_TYPE_STRING, configuration, -- cgit