aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2023-12-22 10:48:39 +0200
committerMarius Vlad <marius.vlad@collabora.com>2023-12-22 10:48:39 +0200
commit97faa830c65258ba8b60fa53cdbfb3f9d810abb3 (patch)
tree01c1a29f341a305c7d351627df525d3fa59204bf
parent952687cbb87e88252f76da364d6dca61a1852a37 (diff)
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 <marius.vlad@collabora.com> Change-Id: Iaa8891cabbf1d32f94355fc5c453cba2647d547d
-rw-r--r--app/main.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}