X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=apps%2Fcamera-gstreamer.git;a=blobdiff_plain;f=app%2Fmain.cpp;fp=app%2Fmain.cpp;h=64a435b319b79b83769986e5e1df6a08d85b55cb;hp=95f5ae5b52a5c3616c5b4e5512ae9da0dc5da292;hb=97faa830c65258ba8b60fa53cdbfb3f9d810abb3;hpb=952687cbb87e88252f76da364d6dca61a1852a37 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; }