rtprtxsend: don't start the task unless we are doing rtx
authorHavard Graff <havard.graff@gmail.com>
Fri, 4 Nov 2016 10:47:20 +0000 (11:47 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 15 Mar 2022 12:03:27 +0000 (12:03 +0000)
commit4d316413023c94c348d9f443572b67453f0ce8c1
tree1fd91760bee8545e996c7d681d176220538194b0
parent69863131bdb4ff7f5b51e17f50b0a83522fcc822
rtprtxsend: don't start the task unless we are doing rtx

The rtxsend element can do pass-through when not enabled (no pt-map set)
and in those cases there is no point in starting an additional task
that does absolutely nothing.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1880>
subprojects/gst-plugins-good/gst/rtpmanager/gstrtprtxsend.c
subprojects/gst-plugins-good/tests/check/elements/rtprtx.c