1230149fdd
The components needing delayed frames (sc_screen and sc_v4l2_sink) managed a sc_video_buffer instance, which itself embedded a sc_frame_buffer instance (to keep only the most recent frame). In theory, these components should not be aware of delaying: they should just receive AVFrames later, and only handle a sc_frame_buffer. Therefore, refactor sc_delay_buffer as a frame source (it consumes) frames) and a frame sink (it produces frames, after some delay), and plug an instance in the pipeline only when a delay is requested. This also removes the need for a specific sc_video_buffer. PR #3757 <https://github.com/Genymobile/scrcpy/pull/3757> |
||
---|---|---|
.. | ||
data | ||
prebuilt-deps | ||
src | ||
tests | ||
meson.build | ||
scrcpy-windows.manifest | ||
scrcpy-windows.rc | ||
scrcpy.1 |