From 97faa830c65258ba8b60fa53cdbfb3f9d810abb3 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Fri, 22 Dec 2023 10:48:39 +0200 Subject: [PATCH] main: Remove fullscreen option from waylandsink There's no need for adding that option as we're providing our own window, and not relying on gst-launch. Signed-off-by: Marius Vlad Change-Id: Iaa8891cabbf1d32f94355fc5c453cba2647d547d --- app/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.cpp b/app/main.cpp index 95f5ae5..64a435b 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -729,7 +729,7 @@ GstElement* create_pipeline(int* argc, char** argv[]) snprintf(pipeline_str, sizeof(pipeline_str), "v4l2src device=%s ! video/x-raw,width=%d,height=%d ! waylandsink", camera_device, width, height); else if (gst_pipeline_failed == TRUE) { - snprintf(pipeline_str, sizeof(pipeline_str), "filesrc location=%s/still-image.jpg ! decodebin ! videoconvert ! imagefreeze ! waylandsink fullscreen=true", + snprintf(pipeline_str, sizeof(pipeline_str), "filesrc location=%s/still-image.jpg ! decodebin ! videoconvert ! imagefreeze ! waylandsink", xstr(APP_DATA_PATH)); fallback_gst_pipeline_tried = TRUE; } -- 2.16.6