scrcpy/app/src
Romain Vimont e89e772c7c Remove unnecessary 'else'
Some server parameters may depend on one another. For example,
audio_bit_rate is meaningless if audio is false.

But it is inconsistent to disable some parameters based on these
dependencies checks, but not others. Handling all dependencies between
parameters would add too much complexity for no benefit.

So just pass individual parameters independently.

PR #3978 <https://github.com/Genymobile/scrcpy/pull/3978>
2023-05-08 16:41:12 +02:00
..
adb Fix "ip route" parsing 2023-04-02 19:30:23 +02:00
android Fix typos 2021-04-18 14:36:31 +02:00
sys Use /dev/null instead of closing fds 2022-09-25 15:42:33 +02:00
trait Pass AVCodecContext to packet sinks 2023-03-11 15:57:25 +01:00
usb Use VecDeque in aoa_hid 2023-03-10 22:22:15 +01:00
util Simplify bytebuf naming 2023-03-12 02:04:57 +01:00
audio_player.c Add --audio-output-buffer 2023-03-14 23:54:07 +01:00
audio_player.h Add --audio-output-buffer 2023-03-14 23:54:07 +01:00
cli.c Disable controls on --no-mirror 2023-05-08 16:41:01 +02:00
cli.h Move scrcpy option structs to options.h 2021-10-27 18:43:47 +02:00
clock.c Simplify clock estimation 2023-03-30 20:58:33 +02:00
clock.h Simplify clock estimation 2023-03-30 20:58:33 +02:00
common.h Fix MIN/MAX macros 2023-03-03 01:18:10 +01:00
compat.c Add compat for reallocarray() 2023-03-10 22:22:15 +01:00
compat.h Fix build for FFmpeg < 3.3 2023-04-23 12:26:46 +02:00
control_msg.c Forward action button to device 2023-01-30 20:57:54 +01:00
control_msg.h Forward action button to device 2023-01-30 20:57:54 +01:00
controller.c Use VecDeque in controller 2023-03-10 22:22:15 +01:00
controller.h Use VecDeque in controller 2023-03-10 22:22:15 +01:00
coords.h Use sc_ prefix for size, position and point 2021-10-30 15:20:39 +02:00
decoder.c Pass AVCodecContext to packet sinks 2023-03-11 15:57:25 +01:00
decoder.h Pass AVCodecContext to packet sinks 2023-03-11 15:57:25 +01:00
delay_buffer.c Simplify clock estimation 2023-03-30 20:58:33 +02:00
delay_buffer.h Optionally do not delay the first frame 2023-03-10 22:22:15 +01:00
demuxer.c Fix build for FFmpeg < 3.3 2023-04-23 12:26:46 +02:00
demuxer.h Use packet source trait in demuxer 2023-03-10 22:22:15 +01:00
device_msg.c Rename buffer_util.h to binary.h 2022-08-28 15:23:08 +02:00
device_msg.h Add missing SC_ prefix to header guards 2022-04-12 23:59:01 +02:00
display.c Force OpenGL Core Profile context on macOS 2023-04-12 21:26:24 +02:00
display.h Force OpenGL Core Profile context on macOS 2023-04-12 21:26:24 +02:00
events.h Pass video size as codec metadata 2023-03-11 15:57:25 +01:00
file_pusher.c Stop and join sc_file_pusher only if initialized 2023-03-10 22:45:48 +01:00
file_pusher.h Use VecDeque in file_pusher 2023-03-10 22:22:15 +01:00
fps_counter.c Initialize interrupted field explicitly 2023-03-10 22:33:52 +01:00
fps_counter.h Add missing SC_ prefix to header guards 2022-04-12 23:59:01 +02:00
frame_buffer.c Fix code style 2022-01-27 19:02:07 +01:00
frame_buffer.h Extract current video_buffer to frame_buffer 2021-07-14 14:22:32 +02:00
icon.c Fix error message on icon loading failure 2023-02-27 20:51:54 +01:00
icon.h Add missing SC_ prefix to header guards 2022-04-12 23:59:01 +02:00
input_events.h Force mouse source when --forward-all-clicks 2022-12-22 11:26:26 +01:00
input_manager.c Pass const pointers to events 2023-04-06 19:48:01 +02:00
input_manager.h Pass const pointers to events 2023-04-06 19:48:01 +02:00
keyboard_inject.c Use sc_ prefix for control_msg enums 2022-01-27 16:47:51 +01:00
keyboard_inject.h Use sc_ prefix for controller 2022-01-14 22:17:30 +01:00
main.c Move FFmpeg callback initialization 2023-03-10 22:22:15 +01:00
mouse_inject.c Forward action button to device 2023-01-30 20:57:54 +01:00
mouse_inject.h Use sc_ prefix for controller 2022-01-14 22:17:30 +01:00
opengl.c Fix OpenGL ES prefix skip 2022-03-30 12:01:01 +02:00
opengl.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
options.c Rename --no-display to --no-mirror 2023-05-08 16:40:58 +02:00
options.h Rename --no-display to --no-mirror 2023-05-08 16:40:58 +02:00
packet_merger.c Extract packet merging 2023-02-11 09:44:33 +01:00
packet_merger.h Extract packet merging 2023-02-11 09:44:33 +01:00
receiver.c Prefix receiver by sc_ 2023-02-18 09:37:31 +01:00
receiver.h Prefix receiver by sc_ 2023-02-18 09:37:31 +01:00
recorder.c Pass video size as codec metadata 2023-03-11 15:57:25 +01:00
recorder.h Pass video size as codec metadata 2023-03-11 15:57:25 +01:00
scrcpy.c Disable controls on --no-mirror 2023-05-08 16:41:01 +02:00
scrcpy.h Add specific exit code for device disconnection 2022-03-06 22:19:46 +01:00
screen.c Extract sc_display from sc_screen 2023-04-06 19:48:26 +02:00
screen.h Extract sc_display from sc_screen 2023-04-06 19:48:26 +02:00
server.c Remove unnecessary 'else' 2023-05-08 16:41:12 +02:00
server.h Pass video size as codec metadata 2023-03-11 15:57:25 +01:00
v4l2_sink.c Fix v4l2 sink 2023-03-12 12:45:49 +01:00
v4l2_sink.h Pass video size as codec metadata 2023-03-11 15:57:25 +01:00
version.c Print libusb version on --version 2022-02-09 10:15:19 +01:00
version.h Move version handling to a separate file 2022-02-09 10:15:07 +01:00