From: Wim Taymans Date: Mon, 5 Mar 2007 17:08:32 +0000 (+0000) Subject: gst/rtp/: Fix encoding-name case. X-Git-Tag: 1.19.3~509^2~12115 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20f18abf7274698f6d0d155c49672474f95dc6cf;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/ChangeLog b/ChangeLog index 2f65b29..c2ef2a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2007-03-05 Wim Taymans + * 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. + +2007-03-05 Wim Taymans + * gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_class_init), (gst_rtp_speex_depay_get_mode), (gst_rtp_speex_depay_setcaps), (gst_rtp_speex_depay_process): diff --git a/gst/rtp/gstrtpmp4gpay.c b/gst/rtp/gstrtpmp4gpay.c index 3220728..fae66c5 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 7b4dc1b..db8a587 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 29b8ce4..0482e0c 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,