summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2023-11-24 15:56:38 +0200
committerMarius Vlad <marius.vlad@collabora.com>2023-12-05 17:55:55 +0200
commit5be991ce27c966a4d87a6b0cc8bdbbd46e18c427 (patch)
tree0c4c05acf4b45446bf207594141ed879cc18660a /app
parent895b7306d837862b7fe1b706bb26307007f69c32 (diff)
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 <marius.vlad@collabora.com> Change-Id: I610cb8ecf01e8a15fcffa6c1b94564937b4e9b70
Diffstat (limited to 'app')
-rw-r--r--app/main.cpp2
1 files changed, 1 insertions, 1 deletions
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 {