Compare commits
2 Commits
install_re
...
issue2218
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c8f996822 | ||
|
|
b77932a5b7 |
17
BUILD.md
17
BUILD.md
@@ -33,6 +33,12 @@ git pull
|
||||
./install_release.sh
|
||||
```
|
||||
|
||||
To uninstall:
|
||||
|
||||
```bash
|
||||
sudo ninja -Cbuild-auto uninstall
|
||||
```
|
||||
|
||||
|
||||
## Branches
|
||||
|
||||
@@ -295,11 +301,16 @@ After a successful build, you can install _scrcpy_ on the system:
|
||||
sudo ninja -Cx install # without sudo on Windows
|
||||
```
|
||||
|
||||
This installs two files:
|
||||
This installs three files:
|
||||
|
||||
- `/usr/local/bin/scrcpy`
|
||||
- `/usr/local/share/scrcpy/scrcpy-server`
|
||||
|
||||
Just remove them to "uninstall" the application.
|
||||
- `/usr/local/share/man/man1/scrcpy.1`
|
||||
|
||||
You can then [run](README.md#run) _scrcpy_.
|
||||
|
||||
### Uninstall
|
||||
|
||||
```bash
|
||||
sudo ninja -Cx uninstall # without sudo on Windows
|
||||
```
|
||||
|
||||
@@ -252,7 +252,13 @@ recorder_write(struct recorder *recorder, AVPacket *packet) {
|
||||
}
|
||||
|
||||
recorder_rescale_packet(recorder, packet);
|
||||
return av_write_frame(recorder->ctx, packet) >= 0;
|
||||
int ret = av_write_frame(recorder->ctx, packet);
|
||||
if (ret < 0) {
|
||||
LOGE("Could not write frame: %d\n", ret);
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static int
|
||||
|
||||
Reference in New Issue
Block a user