From c484de8d8b100d7fbaee2a1c529e9e9c7014839b Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Tue, 16 Jul 2024 02:49:06 +0900 Subject: [PATCH] gst-rtsp-server: Make test-onvif-client example work on Windows Use autovideosink instead of hardcoded xvimagesink, so that platform-default videosink can be picked Part-of: --- subprojects/gst-rtsp-server/examples/test-onvif-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-rtsp-server/examples/test-onvif-client.c b/subprojects/gst-rtsp-server/examples/test-onvif-client.c index 3a1b7003b9..e28597152b 100644 --- a/subprojects/gst-rtsp-server/examples/test-onvif-client.c +++ b/subprojects/gst-rtsp-server/examples/test-onvif-client.c @@ -128,7 +128,7 @@ setup (Context * ctx) MAKE_AND_ADD (toverlay, ctx->pipe, "timeoverlay", done, NULL); MAKE_AND_ADD (tee, ctx->pipe, "tee", done, NULL); MAKE_AND_ADD (vqueue, ctx->pipe, "queue", done, NULL); - MAKE_AND_ADD (ctx->sink, ctx->pipe, "xvimagesink", done, NULL); + MAKE_AND_ADD (ctx->sink, ctx->pipe, "autovideosink", done, NULL); g_object_set (ctx->src, "location", rtsp_address, NULL); g_object_set (ctx->src, "onvif-mode", TRUE, NULL);