droidcam
droidcam copied to clipboard
fix some issues
- Automatically detect libturbojpeg linking arguments.
- Fixed a data race with
a_runningandv_runningwhen exiting. - Automatically try next v4l2 dev when failing to set pixel format.
- Not reset gtk widgets when gtk main loop has stopped.
- Wait until battery level info is received (currently always 1s),
because level info is actually sent later so mostly
recvreturns before the client sends.
Most of these changes looks fine, however
usbmuxd-2.0is not available on Ubuntu (from what I can see), its still justlibusbmuxd.- libjpeg-turbo is statically linked on purpose, this has been the most consistent way to get the correct library across distros.
- The battery parsing code doesn't seem to be any better with the given changes, its very hacky to begin with and I would not change it unless making significant changes on how its accomplished in the first place.