gstreamer/subprojects/gst-plugins-good/gst/rtpmanager
Sebastian Dröge 6476fac04f rtpbin: Don't re-use a variable for a completely different purpose temporarily
During RTP-Info synchronization, clock_base was temporarily switched
from the actual clock-base to the base RTP time and then back some lines
later.

Instead directly work with the base RTP time. The comment about using a
signed variable for convenience doesn't make any sense because all
calculations done with the value are unsigned.

Similarly, rtp_clock_base was overridden with the rtp_delta when
calculating it, which was fine because it is not used anymore
afterwards. Instead, introduce a new variable `rtp_delta` to make this
calculation clearer.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6639>
2024-04-15 01:27:28 +01:00
..
gstrtpbin.c rtpbin: Don't re-use a variable for a completely different purpose temporarily 2024-04-15 01:27:28 +01:00
gstrtpbin.h
gstrtpdtmfmux.c
gstrtpdtmfmux.h
gstrtpfunnel.c
gstrtpfunnel.h
gstrtphdrext-clientaudiolevel.c
gstrtphdrext-clientaudiolevel.h
gstrtphdrext-mid.c
gstrtphdrext-mid.h
gstrtphdrext-ntp.c
gstrtphdrext-ntp.h
gstrtphdrext-repairedstreamid.c
gstrtphdrext-repairedstreamid.h
gstrtphdrext-streamid.c
gstrtphdrext-streamid.h
gstrtphdrext-twcc.c
gstrtphdrext-twcc.h
gstrtpjitterbuffer.c rtpjitterbuffer: Use an extended RTP timestamp for the clock-base 2024-04-15 01:27:27 +01:00
gstrtpjitterbuffer.h
gstrtpmanager.c
gstrtpmux.c
gstrtpmux.h
gstrtpptdemux.c
gstrtpptdemux.h
gstrtprtxqueue.c
gstrtprtxqueue.h
gstrtprtxreceive.c
gstrtprtxreceive.h
gstrtprtxsend.c
gstrtprtxsend.h
gstrtpsession.c
gstrtpsession.h
gstrtpssrcdemux.c
gstrtpssrcdemux.h
gstrtpst2022-1-fecdec.c
gstrtpst2022-1-fecdec.h
gstrtpst2022-1-fecenc.c
gstrtpst2022-1-fecenc.h
gstrtputils.c
gstrtputils.h
meson.build
rtpjitterbuffer.c
rtpjitterbuffer.h
rtpsession.c
rtpsession.h
rtpsource.c
rtpsource.h
rtpstats.c
rtpstats.h
rtptimerqueue.c
rtptimerqueue.h
rtptwcc.c
rtptwcc.h