app: Remove width/height from filesrc fallback sink 81/29481/2
authorMarius Vlad <marius.vlad@collabora.com>
Fri, 24 Nov 2023 13:56:38 +0000 (15:56 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Tue, 5 Dec 2023 15:55:55 +0000 (17:55 +0200)
This assumes we pass more arguments but there's no other arguments
passed for this pipeline.

Bug-AGL: SPEC-4987
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I610cb8ecf01e8a15fcffa6c1b94564937b4e9b70

app/main.cpp

index 0247d3e..bc2bb26 100644 (file)
@@ -726,7 +726,7 @@ GstElement* create_pipeline(int* argc, char** argv[])
                        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",
-                       xstr(APP_DATA_PATH), width, height);
+                       xstr(APP_DATA_PATH));
                fallback_gst_pipeline_tried = TRUE;
        }
        else {