pipewire/src
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
..
daemon systemd: Depend on dbus.service 2025-03-20 12:23:22 +00:00
examples examples: warn when texture locking fails 2025-03-20 11:21:56 +01:00
gst gst: pipewiresrc: Fixate caps if intersect did not return fixated caps 2025-03-25 15:47:28 +00:00
modules netjack2: fix the large midi events offset 2025-03-19 17:53:05 +01:00
pipewire loop: remove return from function returning void 2025-03-11 16:34:28 +01:00
tests pw-container: use smaller path for temporary file 2024-06-27 21:18:06 +00:00
tools pw-cat: improve sndfile file format debug info 2025-03-24 18:49:41 +01:00
meson.build meson.build: fix compile with -Dexamples=disabled 2023-11-28 10:18:25 +00:00