summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2023-12-21 22:38:14 +0200
committerMarius Vlad <marius.vlad@collabora.com>2023-12-22 10:43:28 +0200
commit952687cbb87e88252f76da364d6dca61a1852a37 (patch)
tree8e884076cf149fe05055dc114875bd6f2e7f3a47 /app
parenta7b8d60c62554b4571e0155ce44794b123cf1c09 (diff)
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 <marius.vlad@collabora.com> Change-Id: I360f5494a1801fc22802ecf5089195f55e8d19db
Diffstat (limited to 'app')
-rw-r--r--app/main.cpp3
1 files changed, 1 insertions, 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);