scrcpy/app
Romain Vimont c0c4ba7009 Add intermediate frame in video buffer
There were only two frames simultaneously:
 - one used by the decoder;
 - one used by the renderer.

When the decoder finished decoding a frame, it swapped it with the
rendering frame.

Adding a third frame provides several benefits:
 - the decoder do not have to wait for the renderer to release the
   mutex;
 - it simplifies the video_buffer API;
 - it makes the rendering frame valid until the next call to
   video_buffer_take_rendering_frame(), which will be useful for
   swscaling on window resize.
2021-02-17 09:54:03 +01:00
..
src Add intermediate frame in video buffer 2021-02-17 09:54:03 +01:00
tests Replace SDL_strdup() by strdup() 2021-02-17 09:54:03 +01:00
meson.build Wrap SDL thread functions into scrcpy-specific API 2021-02-17 09:54:03 +01:00
scrcpy.1 Document --encoder option 2020-11-08 21:11:12 +01:00