mirror of
https://github.com/morgan9e/UxPlay
synced 2026-04-14 00:04:13 +09:00
enforce -nc option in macOS, as a workaround for a gstreamer issue
This commit is contained in:
@@ -437,6 +437,13 @@ int main (int argc, char *argv[]) {
|
||||
use_audio = false;
|
||||
}
|
||||
|
||||
#if __APPLE__
|
||||
/* force use of -nc option on macOS */
|
||||
LOGI("macOS detected: use -nc option as workaround for GStreamer problem");
|
||||
previous_no_close_behavior = true;
|
||||
server_timeout = 0;
|
||||
#endif
|
||||
|
||||
if (videosink == "0") {
|
||||
use_video = false;
|
||||
videosink.erase();
|
||||
|
||||
Reference in New Issue
Block a user