doc: expand on the syncobj negotiation for sync_timeline

PipeWire doesn't impose how the syncobj fds are negotiated but provides
a way to add them to the buffer data when negotiating the Buffers.
This commit is contained in:
Wim Taymans 2024-08-21 16:11:30 +02:00
parent fff52bb7a2
commit f160c86f6f

View file

@ -168,9 +168,10 @@ struct spa_meta_videotransform {
* Metadata to describe the time on the timeline when the buffer
* can be acquired and when it can be reused.
*
* This metadata will usually also require negotiation of 2 extra
* buffer datas of type SPA_DATA_SyncObj with 2 fds for the acquire
* and release timelines respectively.
* This metadata will require negotiation of 2 extra fds for the acquire
* and release timelines respectively. One way to achieve this is to place
* this metadata as SPA_PARAM_BUFFERS_metaType when negotiating a buffer
* layout with 2 extra fds.
*/
struct spa_meta_sync_timeline {
uint32_t flags;