Wim Taymans
8db85cf198
examples: handle 0 stride better
...
Assume the stride is size/height in case someone doesn't set the stride
correctly.
2022-12-08 13:39:58 +01:00
Wim Taymans
74447acedb
Add some more format checks
...
The format parse functions don't really check if the parsed values
make any sense so we need to to this ourselves.
2022-11-03 13:10:32 +01:00
Pauli Virtanen
ca87d40448
examples: use PW_KEY_TARGET_OBJECT
...
In examples, tell people how to use target.object.
2022-07-11 15:32:43 +03:00
Wim Taymans
35cbe4e939
buffers: make alignment optional
...
Make the alignment parameter optional when negotiating buffers.
Default to a 16 bytes alignment and adjust for the max cpu
alignment.
Remove the useless align buffer parameter in plugins, we always
set it to 16 anyway.
2022-01-03 12:32:26 +01:00
Philippe Normand
397a67889a
examples: Add explicit break statement in video-play-reneg
2021-10-25 07:26:15 +00:00
Pauli Virtanen
98a0e54d5f
doc: link examples to Doxygen docs
...
Include examples to the documentation, using Doxygen's example system.
2021-10-10 00:35:46 +03:00
columbarius
e871b761fe
examples: only announce SPA_DATA_MemPtr
2021-01-01 21:12:00 +01:00
columbarius
7ad1ee0cec
examples: use dataType mask for consumers
...
Set the dataType mask to MemFd and MemPtr since we implemented the MemPtr API and get MemFd mapped by pipewire.
2021-01-01 21:12:00 +01:00
Wim Taymans
93e04aebce
example: add example of renegotiation
...
Add an example of renegotiating a producer and consumer format.
2020-06-19 12:17:47 +02:00