pipewire/src/gst
Sanchayan Maity eb534b4515 gst: pipewiresrc: Fixate caps if intersect did not return fixated caps
We might end up in a situation where depending on the pipeline,
intersect might not give us fixated caps.

Possible example of such a pipeline can be below.

gst-launch-1.0 -e pipewiresrc target-object=<path> ! audioconvert !
audio/x-raw,format=S16LE,rate=48000,channels=2 ! lamemp3enc !
filesink location=test.mp3

This results in non-fixated caps like below when intersecting caps from
format param and possible_caps which depends on what we have downstream
in the pipeline.

audio/x-raw, layout=(string)interleaved, format=(string)S16LE, rate=(int)48000, channels=(int)2, channel-mask=(bitmask)0x0000000000000003;
audio/x-raw, layout=(string)interleaved, format=(string)S16LE, rate=(int)48000, channels=(int)2

To fix this, fixate the caps explicitly.
2025-03-25 15:47:28 +00:00
..
.editorconfig add .editorconfig files 2019-02-13 11:19:21 +01:00
gstpipewire.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
gstpipewireclock.c gst: enable the pipewire ticks as a clock source 2024-11-26 17:23:00 +01:00
gstpipewireclock.h gst: use G_DECLARE_FINAL_TYPE for all classes 2024-06-11 12:51:51 +00:00
gstpipewirecore.c gst: core: Fixup connection error handling 2025-01-12 11:42:29 +00:00
gstpipewirecore.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
gstpipewiredeviceprovider.c gst: deviceprovider: Fix a leak and a heap-use-after-free 2025-03-25 15:33:43 +00:00
gstpipewiredeviceprovider.h gst: deviceprovider: Signal default devices 2024-09-11 13:14:26 +00:00
gstpipewireformat.c gst: pipewireformat: Do not use RANGE if values are equal 2025-03-21 16:18:28 +05:30
gstpipewireformat.h gst: Add helper to fixate DMA_DRM caps 2024-05-29 19:05:53 +02:00
gstpipewirepool.c gst: Fix handling of video planar formats 2025-03-13 18:53:23 +05:30
gstpipewirepool.h gst: don't use bufferpool for audio by default 2025-02-03 17:22:34 +00:00
gstpipewiresink.c gst: Do not use video only info for SPA_PARAM_BUFFERS_blocks 2025-03-14 12:41:38 +00:00
gstpipewiresink.h gst: sink: copy frames if video buffer from other pool 2025-03-04 22:54:47 +05:30
gstpipewiresrc.c gst: pipewiresrc: Fixate caps if intersect did not return fixated caps 2025-03-25 15:47:28 +00:00
gstpipewiresrc.h gst: don't use bufferpool for audio by default 2025-02-03 17:22:34 +00:00
gstpipewirestream.c gst: add rate control to the sink 2024-12-03 12:11:47 +01:00
gstpipewirestream.h gst: add rate control to the sink 2024-12-03 12:11:47 +01:00
meson.build gst: add rate control to the sink 2024-12-03 12:11:47 +01:00