mirror of
https://github.com/Genymobile/scrcpy
synced 2025-01-20 06:30:56 +00:00
55806e7d31
This flag forced the decoder to wait for the previous frame to be consumed by the display. It was initially implemented as a compilation flag for testing, not intended to be exposed at runtime. But to remove ifdefs and to allow users to test this flag easily, it had finally been exposed by commit ebccb9f6cc111e8acfbe10d656cac5c1f1b744a0. In practice, it turned out to be useless: it had no practical impact, and it did not solve or mitigate any performance issues causing frame skipping. But that added some complexity to the codebase: it required an additional condition variable, and made video buffer calls possibly blocking, which in turn required code to interrupt it on exit. To prepare support for multiple sinks plugged to the decoder (display and v4l2 for example), the blocking call used for pacing the decoder output becomes unacceptable, so just remove this useless "feature". |
||
---|---|---|
.. | ||
test_buffer_util.c | ||
test_cbuf.c | ||
test_cli.c | ||
test_control_msg_serialize.c | ||
test_device_msg_deserialize.c | ||
test_queue.c | ||
test_strutil.c |