aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/sync_queue.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-04-13 09:30:52 +0200
committerAnton Khirnov <anton@khirnov.net>2023-04-09 15:47:45 +0200
commit98b41d0bd22258618fd8885368e8493e56208ccb (patch)
tree45ac3a1425aaed99b0f47cd012247238bb01dab2 /fftools/sync_queue.h
parent090950f8327c01b1775615b1da723dc6cc8a30a0 (diff)
downloadffmpeg-98b41d0bd22258618fd8885368e8493e56208ccb.tar.gz
fftools/sync_queue: document overall design
Diffstat (limited to 'fftools/sync_queue.h')
-rw-r--r--fftools/sync_queue.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fftools/sync_queue.h b/fftools/sync_queue.h
index 17d282c38c..9659ee5d50 100644
--- a/fftools/sync_queue.h
+++ b/fftools/sync_queue.h
@@ -38,6 +38,11 @@ typedef union SyncQueueFrame {
#define SQFRAME(frame) ((SyncQueueFrame){ .f = (frame) })
#define SQPKT(pkt) ((SyncQueueFrame){ .p = (pkt) })
+/**
+ * A sync queue provides timestamp synchronization between multiple streams.
+ * Some of these streams are marked as "limiting", then the queue ensures no
+ * stream gets ahead of any of the limiting streams.
+ */
typedef struct SyncQueue SyncQueue;
/**