From deb27bddf6b771e6987be7165bfa10678d0f9079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Fri, 2 May 2014 18:30:16 -0400 Subject: [PATCH] rtpbasepayload: Save the PT after fixating --- gst-libs/gst/rtp/gstrtpbasepayload.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-libs/gst/rtp/gstrtpbasepayload.c b/gst-libs/gst/rtp/gstrtpbasepayload.c index a0b7d6d137..1a82237dde 100644 --- a/gst-libs/gst/rtp/gstrtpbasepayload.c +++ b/gst-libs/gst/rtp/gstrtpbasepayload.c @@ -807,6 +807,7 @@ gst_rtp_base_payload_set_outcaps (GstRTPBasePayload * payload, GST_RTP_BASE_PAYLOAD_PT (payload)); gst_structure_get_int (s, "payload", &pt); GST_LOG_OBJECT (payload, "using peer pt %d", pt); + GST_RTP_BASE_PAYLOAD_PT (payload) = pt; } else { /* no pt field, use the internal pt */ pt = GST_RTP_BASE_PAYLOAD_PT (payload);