Introduce frame source trait

There was a frame sink trait, implemented by components able to receive
AVFrames, but each frame source had to manually send to frame sinks.

In order to mutualise sink management, add a frame sink trait.
This commit is contained in:
Romain Vimont
2023-03-02 09:25:25 +01:00
parent 0f5205ad7b
commit 8dac37fff0
3 changed files with 98 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ src = [
'src/server.c',
'src/version.c',
'src/video_buffer.c',
'src/trait/frame_source.c',
'src/trait/packet_source.c',
'src/util/acksync.c',
'src/util/average.c',