From 5be991ce27c966a4d87a6b0cc8bdbbd46e18c427 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Fri, 24 Nov 2023 15:56:38 +0200 Subject: app: Remove width/height from filesrc fallback sink 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 Change-Id: I610cb8ecf01e8a15fcffa6c1b94564937b4e9b70 --- app/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/main.cpp b/app/main.cpp index 0247d3e..bc2bb26 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -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 { -- cgit 1.2.3-korg