rtpbasepayload: Save the PT after fixating

This commit is contained in:
Olivier Crête 2014-05-02 18:30:16 -04:00
parent b163f111c8
commit deb27bddf6

View file

@ -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);