main: Remove fullscreen option from waylandsink 59/29559/1
authorMarius Vlad <marius.vlad@collabora.com>
Fri, 22 Dec 2023 08:48:39 +0000 (10:48 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Fri, 22 Dec 2023 08:48:39 +0000 (10:48 +0200)
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 <marius.vlad@collabora.com>
Change-Id: Iaa8891cabbf1d32f94355fc5c453cba2647d547d

app/main.cpp

index 95f5ae5..64a435b 100644 (file)
@@ -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;
        }