scrcpy/app/tests
Romain Vimont 55806e7d31 Remove option --render-expired-frames
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
ebccb9f6cc.

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".
2021-04-25 14:38:42 +02:00
..
test_buffer_util.c Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
test_cbuf.c Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
test_cli.c Remove option --render-expired-frames 2021-04-25 14:38:42 +02:00
test_control_msg_serialize.c Add control message to expand settings panel 2021-04-25 14:36:48 +02:00
test_device_msg_deserialize.c Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
test_queue.c Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
test_strutil.c Replace SDL_strdup() by strdup() 2021-02-17 09:54:03 +01:00