mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
rtpbasepayload: Save the PT after fixating
This commit is contained in:
parent
b163f111c8
commit
deb27bddf6
1 changed files with 1 additions and 0 deletions
|
@ -807,6 +807,7 @@ gst_rtp_base_payload_set_outcaps (GstRTPBasePayload * payload,
|
||||||
GST_RTP_BASE_PAYLOAD_PT (payload));
|
GST_RTP_BASE_PAYLOAD_PT (payload));
|
||||||
gst_structure_get_int (s, "payload", &pt);
|
gst_structure_get_int (s, "payload", &pt);
|
||||||
GST_LOG_OBJECT (payload, "using peer pt %d", pt);
|
GST_LOG_OBJECT (payload, "using peer pt %d", pt);
|
||||||
|
GST_RTP_BASE_PAYLOAD_PT (payload) = pt;
|
||||||
} else {
|
} else {
|
||||||
/* no pt field, use the internal pt */
|
/* no pt field, use the internal pt */
|
||||||
pt = GST_RTP_BASE_PAYLOAD_PT (payload);
|
pt = GST_RTP_BASE_PAYLOAD_PT (payload);
|
||||||
|
|
Loading…
Reference in a new issue