tests: Don't set dtlsenc state before linking.
authorJan Schmidt <jan@centricular.com>
Sat, 31 Oct 2020 10:46:16 +0000 (21:46 +1100)
committerJan Schmidt <jan@centricular.com>
Sat, 31 Oct 2020 10:46:16 +0000 (21:46 +1100)
commitbe131dba6a50b197bf5c02ba2809bc4e14882d74
treedf9d72514e294db9985a3b62c4f3cf7491216182
parentc1be9c53e1e8a02fb03e988d35efeb5f404b866c
tests: Don't set dtlsenc state before linking.

Link the dtlsenc in the testsuite before setting it to paused, as it
starts a pad task that can generate a not-linked error otherwise.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1744>
tests/check/elements/dtls.c