mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
rtpmanager: Access GstRTPHdrExt fields through accessor
This way, the implementation can be private. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1017>
This commit is contained in:
parent
34a6acede1
commit
38e906de5d
1 changed files with 2 additions and 2 deletions
|
@ -187,8 +187,8 @@ gst_rtp_header_extension_twcc_write (GstRTPHeaderExtension * ext,
|
|||
goto map_failed;
|
||||
|
||||
/* if there already is a twcc-seqnum inside the packet */
|
||||
if (gst_rtp_buffer_get_extension_onebyte_header (&rtp, ext->ext_id, 0,
|
||||
&ext_data, &ext_size)) {
|
||||
if (gst_rtp_buffer_get_extension_onebyte_header (&rtp,
|
||||
gst_rtp_header_extension_get_id (ext), 0, &ext_data, &ext_size)) {
|
||||
if (ext_size < gst_rtp_header_extension_twcc_get_max_size (ext, NULL))
|
||||
goto existing_too_small;
|
||||
|
||||
|
|
Loading…
Reference in a new issue