Romain Vimont
Romain Vimont
> > It seems you compiled scrcpy against an old version but linked a newer version. > > How can you tell ? ``` Dependencies (compiled / linked): […] -...
> /usr/local/include/libavformat/avformat.h:2281:35: note: expected ‘AVCodec **’ but argument is of type ‘const AVCodec **’ > 2281 | AVCodec **decoder_ret, > | ~~~~~~~~~~^~~~~~~~~~~ Please test with this additional change: ```diff diff...
> isn't that what ./install_release.sh supposed to do ? Yes. > I'm getting the same compiled/linked discrepancies after it So with the same compiled and link dependencies, you still get...
> on icon_decoder it builds :+1: The fact that you need this patch suggests that you're building for an old version (otherwise you'll get the new API). What is the...
OK so you build against an old ffmpeg and run against a newer one: ``` - libavcodec: 58.125.101 / 60.31.102 - libavformat: 58.68.100 / 60.16.100 - libavutil: 56.66.100 / 58.29.100...
``` pkg-config --print-provides libavformat ```
That's the new version (so it's correct). If you create a builddir, what is the full output: ``` meson setup tmpbuilddir ```
> Run-time dependency libavformat found: YES 60.16.100 > Run-time dependency libavcodec found: YES 60.31.102 > Run-time dependency libavutil found: YES 58.29.100 > Run-time dependency libswresample found: YES 4.12.100 > Run-time...
> ``` > Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1 > Run-time dependency libavformat found: YES 60.16.100 > Run-time dependency libavcodec found: YES 60.31.102 > Run-time dependency libavutil found: YES 58.29.100 >...
What happens if you execute: ``` adb shell settings get global stay_on_while_plugged_in adb shell settings put global stay_on_while_plugged_in 7 adb shell settings get global stay_on_while_plugged_in adb shell settings put global...