mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7174>
This commit is contained in:
parent
25f3ab2e6c
commit
c484de8d8b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue