mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-21 07:00:08 -05:00
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. |
||
|---|---|---|
| .. | ||
| .editorconfig | ||
| gstpipewire.c | ||
| gstpipewireclock.c | ||
| gstpipewireclock.h | ||
| gstpipewirecore.c | ||
| gstpipewirecore.h | ||
| gstpipewiredeviceprovider.c | ||
| gstpipewiredeviceprovider.h | ||
| gstpipewireformat.c | ||
| gstpipewireformat.h | ||
| gstpipewirepool.c | ||
| gstpipewirepool.h | ||
| gstpipewiresink.c | ||
| gstpipewiresink.h | ||
| gstpipewiresrc.c | ||
| gstpipewiresrc.h | ||
| gstpipewirestream.c | ||
| gstpipewirestream.h | ||
| meson.build | ||