mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 17:18:15 +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 */
|
/* create a server instance */
|
||||||
server = gst_rtsp_server_new ();
|
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 */
|
/* attach the server to the default maincontext */
|
||||||
if ((id = gst_rtsp_server_attach (server, NULL)) == 0)
|
if ((id = gst_rtsp_server_attach (server, NULL)) == 0)
|
||||||
goto failed;
|
goto failed;
|
||||||
|
|
Loading…
Reference in a new issue