mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
test-cleanup: bind any port
The meson test suite runs tests in parallel, trying to bind a single port made the test fail.
This commit is contained in:
parent
cd96202465
commit
2bb00ebfaa
1 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,9 @@ main (int argc, char *argv[])
|
|||
/* create a server instance */
|
||||
server = gst_rtsp_server_new ();
|
||||
|
||||
/* We just want to bind any port here, so that tests can run in parallel */
|
||||
gst_rtsp_server_set_service (server, "0");
|
||||
|
||||
/* attach the server to the default maincontext */
|
||||
if ((id = gst_rtsp_server_attach (server, NULL)) == 0)
|
||||
goto failed;
|
||||
|
|
Loading…
Reference in a new issue