mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Make SKIP_FRAMES a compilation flag
The skip_frames flag was a non-configurable runtime flag. Since it is not exposed to the user, there is no need for a (possible) runtime cost. For testing purpose, we still want it to be configurable, so make it a compilation flag.
This commit is contained in:
parent
53ff1aa410
commit
8d30d40b79
6 changed files with 30 additions and 13 deletions
|
|
@ -11,7 +11,6 @@ struct decoder {
|
|||
TCPsocket video_socket;
|
||||
SDL_Thread *thread;
|
||||
SDL_mutex *mutex;
|
||||
SDL_bool skip_frames;
|
||||
};
|
||||
|
||||
SDL_bool decoder_start(struct decoder *decoder);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue