From: Marius Vlad Date: Fri, 24 Nov 2023 13:56:38 +0000 (+0200) Subject: app: Remove width/height from filesrc fallback sink X-Git-Tag: 17.90.0~4 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=apps%2Fcamera-gstreamer.git;a=commitdiff_plain;h=5be991ce27c966a4d87a6b0cc8bdbbd46e18c427 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 --- 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 {