summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2014-11-01 10:14:31 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2014-11-01 11:26:26 -0400
commit0f4f948f5feba69336772c4234069b3fba9ebf6e (patch)
tree93d83a5344f75953609265077df1664014985886
parent92c1d289b8cd5f7af28832632c9bf36755f69dc1 (diff)
rtpvp8: Use VP8 encoding name
Both Firefox and Chrome uses VP8 as the encoding in their SDP. Adding this now defacto standard name removes the need for special case in SDP parsing code. https://bugzilla.gnome.org/show_bug.cgi?id=737810
-rw-r--r--gst/rtp/gstrtpvp8depay.c2
-rw-r--r--gst/rtp/gstrtpvp8pay.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtp/gstrtpvp8depay.c b/gst/rtp/gstrtpvp8depay.c
index 40f3375e2..fed9779ac 100644
--- a/gst/rtp/gstrtpvp8depay.c
+++ b/gst/rtp/gstrtpvp8depay.c
@@ -48,7 +48,7 @@ GST_STATIC_PAD_TEMPLATE ("sink",
GST_STATIC_CAPS ("application/x-rtp, "
"clock-rate = (int) 90000,"
"media = (string) \"video\","
- "encoding-name = (string) \"VP8-DRAFT-IETF-01\""));
+ "encoding-name = (string) { \"VP8\", \"VP8-DRAFT-IETF-01\" }"));
static void
gst_rtp_vp8_depay_init (GstRtpVP8Depay * self)
diff --git a/gst/rtp/gstrtpvp8pay.c b/gst/rtp/gstrtpvp8pay.c
index f3ad84554..489895457 100644
--- a/gst/rtp/gstrtpvp8pay.c
+++ b/gst/rtp/gstrtpvp8pay.c
@@ -82,7 +82,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("application/x-rtp, "
"payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ","
- "clock-rate = (int) 90000, encoding-name = (string) \"VP8-DRAFT-IETF-01\""));
+ "clock-rate = (int) 90000, encoding-name = (string) { \"VP8\", \"VP8-DRAFT-IETF-01\" }"));
static GstStaticPadTemplate gst_rtp_vp8_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",