Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6a8d851090 |
@@ -81,6 +81,7 @@ SDL_bool recorder_open(struct recorder *recorder, AVCodec *input_codec) {
|
||||
ostream->codec->pix_fmt = AV_PIX_FMT_YUV420P;
|
||||
ostream->codec->width = recorder->declared_frame_size.width;
|
||||
ostream->codec->height = recorder->declared_frame_size.height;
|
||||
ostream->codec->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
|
||||
#endif
|
||||
ostream->time_base = (AVRational) {1, 1000000}; // timestamps in us
|
||||
|
||||
|
||||
@@ -80,7 +80,6 @@ static process_t execute_server(const char *serial,
|
||||
Uint16 max_size, Uint32 bit_rate,
|
||||
SDL_bool tunnel_forward, const char *crop,
|
||||
SDL_bool send_frame_meta) {
|
||||
LOGD("tunnel_forward=%d\n", (int) tunnel_forward);
|
||||
char max_size_string[6];
|
||||
char bit_rate_string[11];
|
||||
sprintf(max_size_string, "%"PRIu16, max_size);
|
||||
|
||||
@@ -64,7 +64,6 @@ public final class Server {
|
||||
}
|
||||
// use "adb forward" instead of "adb tunnel"? (so the server must listen)
|
||||
boolean tunnelForward = Boolean.parseBoolean(args[2]);
|
||||
Ln.d("tunnelForward = " + tunnelForward);
|
||||
options.setTunnelForward(tunnelForward);
|
||||
|
||||
if (args.length < 4) {
|
||||
@@ -106,8 +105,6 @@ public final class Server {
|
||||
}
|
||||
});
|
||||
|
||||
Ln.d("args: " + Arrays.toString(args));
|
||||
|
||||
Options options = createOptions(args);
|
||||
scrcpy(options);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user