From 421b00cd173d48ecb7f4dc52cddedf1ada85ae58 Mon Sep 17 00:00:00 2001 From: Srimanta Panda Date: Tue, 5 Aug 2014 11:47:39 +0200 Subject: [PATCH] rtph264pay: append packetization mode parameter to SDP Append packetization-mode parameter to SDP description. Packetization mode signals the properties of an RTP payload type. https://bugzilla.gnome.org/show_bug.cgi?id=733556 --- gst/rtp/gstrtph264pay.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/rtp/gstrtph264pay.c b/gst/rtp/gstrtph264pay.c index c451c71..da3faf4 100644 --- a/gst/rtp/gstrtph264pay.c +++ b/gst/rtp/gstrtph264pay.c @@ -395,11 +395,13 @@ gst_rtp_h264_pay_set_sps_pps (GstRTPBasePayload * basepayload) profile = g_strdup_printf ("%06x", payloader->profile & 0xffffff); /* combine into output caps */ res = gst_rtp_base_payload_set_outcaps (basepayload, + "packetization-mode", G_TYPE_STRING, "1", "profile-level-id", G_TYPE_STRING, profile, "sprop-parameter-sets", G_TYPE_STRING, sprops->str, NULL); g_free (profile); } else { res = gst_rtp_base_payload_set_outcaps (basepayload, + "packetization-mode", G_TYPE_STRING, "1", "sprop-parameter-sets", G_TYPE_STRING, sprops->str, NULL); } -- 2.7.4