From: Marius Vlad Date: Thu, 21 Dec 2023 20:38:14 +0000 (+0200) Subject: main: Remove raw video media types caps X-Git-Tag: 17.90.0~2 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=apps%2Fcamera-gstreamer.git;a=commitdiff_plain;h=952687cbb87e88252f76da364d6dca61a1852a37 main: Remove raw video media types caps And let pipewiresrc figure on its own. Tested out with an uvcvideo driver (USB camera). Bug-AGL: SPEC-5025 Signed-off-by: Marius Vlad Change-Id: I360f5494a1801fc22802ecf5089195f55e8d19db --- diff --git a/app/main.cpp b/app/main.cpp index bc7155a..95f5ae5 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -734,8 +734,7 @@ GstElement* create_pipeline(int* argc, char** argv[]) fallback_gst_pipeline_tried = TRUE; } else { - snprintf(pipeline_str, sizeof(pipeline_str), "pipewiresrc ! video/x-raw,width=%d,height=%d ! waylandsink", width, - height); + snprintf(pipeline_str, sizeof(pipeline_str), "pipewiresrc ! waylandsink"); } fprintf(stdout, "Using pipeline: %s\n", pipeline_str);