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 frame to 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 f3197e178d
commit 6543964f12
3 changed files with 98 additions and 0 deletions

View File

@@ -30,6 +30,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/bytebuf.c',