From 952687cbb87e88252f76da364d6dca61a1852a37 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Thu, 21 Dec 2023 22:38:14 +0200 Subject: [PATCH] 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 --- app/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.16.6