srt: Replace stats accumulation with naive byte counting
authorJan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com>
Mon, 5 Oct 2020 17:50:13 +0000 (19:50 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 4 Nov 2022 13:07:34 +0000 (13:07 +0000)
commitb6974b6afc7cdd50ae0aaf57732659be2c2b1b37
tree9189464ea87a539dd4eddc9cfe777f4b8796573e
parentbfed80a82c6df71b0480ad92ffa8cbc75ae171a5
srt: Replace stats accumulation with naive byte counting

srt_bstats cannot be used to get the stats of closed connections, so the
best we can do is keep the running count ourselves.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3156>
subprojects/gst-plugins-bad/ext/srt/gstsrtobject.c
subprojects/gst-plugins-bad/ext/srt/gstsrtobject.h