From d2ef7819d3f625429c1a246d69508e5aa4a42578 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= <tim@centricular.com>
Date: Tue, 10 Jan 2023 13:06:37 +0000
Subject: [PATCH] tests: interactive: test-effect-switch: use autovideosink

Also works on Windows.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3703>
---
 .../gst-plugins-base/tests/interactive/test-effect-switch.c     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/subprojects/gst-plugins-base/tests/interactive/test-effect-switch.c b/subprojects/gst-plugins-base/tests/interactive/test-effect-switch.c
index 34c58387b8..4bfb6393c0 100644
--- a/subprojects/gst-plugins-base/tests/interactive/test-effect-switch.c
+++ b/subprojects/gst-plugins-base/tests/interactive/test-effect-switch.c
@@ -203,7 +203,7 @@ main (int argc, char **argv)
 
   q2 = gst_element_factory_make ("queue", NULL);
 
-  sink = gst_element_factory_make ("ximagesink", NULL);
+  sink = gst_element_factory_make ("autovideosink", NULL);
 
   gst_bin_add_many (GST_BIN (pipeline), src, filter, q1, conv_before, effect,
       conv_after, q2, sink, NULL);