Add buffering debugging tools

Output buffering and clock logs by disabling a compilation flag.
This commit is contained in:
Romain Vimont
2021-07-13 22:32:05 +02:00
parent 2f03141e9f
commit 4c4d02295c
4 changed files with 23 additions and 0 deletions

View File

@@ -17,6 +17,9 @@ typedef struct AVFrame AVFrame;
struct sc_video_buffer_frame {
AVFrame *frame;
struct sc_video_buffer_frame *next;
#ifndef NDEBUG
sc_tick push_date;
#endif
};
struct sc_video_buffer_frame_queue SC_QUEUE(struct sc_video_buffer_frame);