diff --git a/README.html b/README.html
index 74fe631..84fd8c1 100644
--- a/README.html
+++ b/README.html
@@ -993,12 +993,13 @@ as “SupportsLegacyPairing”) of the “features” plist code (reported to
the client by the AirPlay server) to be set. The “features” code and
other settings are set in UxPlay/lib/dnssdint.h.
1.59 2022-12-10 remove “ZOOMFIX” compile option and make compilation +
1.59 2022-12-12 remove “ZOOMFIX” compile option and make compilation with X11-dependence the default if X11 development libraries are -detected (this now provides fullscreen mode with a F11 or Alt+Enter key -toggle); ZOOMFIX is automatically applied for GStreamer < 1.20. The -cmake option -DNO_X11_DEPS allows compilation with no dependence on X11. -Reworked internal handling of metadata.
+detected (this now also provides fullscreen mode with a F11 or Alt+Enter +key toggle); ZOOMFIX is now automatically applied for GStreamer < +1.20. New cmake option -DNO_X11_DEPS compiles uxplay without X11 +dependence. Reworked internal metadata handling. Fix segfault with “-vs +0”.1.58 2022-10-29 Add option “-nohold” that will drop existing connections when a new client connects. Update llhttp to v8.1.0.
1.57 2022-10-09 Minor fixes: (fix coredump on AUR on “stop diff --git a/README.md b/README.md index fb61e84..4a49155 100644 --- a/README.md +++ b/README.md @@ -827,11 +827,11 @@ The "features" code and other settings are set in `UxPlay/lib/dnssdint.h`. # Changelog -1.59 2022-12-10 remove "ZOOMFIX" compile option and make compilation with X11-dependence the - default if X11 development libraries are detected (this now provides fullscreen mode - with a F11 or Alt+Enter key toggle); ZOOMFIX is automatically applied - for GStreamer < 1.20. The cmake option -DNO_X11_DEPS allows compilation with no - dependence on X11. Reworked internal handling of metadata. +1.59 2022-12-12 remove "ZOOMFIX" compile option and make compilation with X11-dependence the + default if X11 development libraries are detected (this now also provides + fullscreen mode with a F11 or Alt+Enter key toggle); ZOOMFIX is now automatically + applied for GStreamer < 1.20. New cmake option -DNO_X11_DEPS compiles uxplay without + X11 dependence. Reworked internal metadata handling. Fix segfault with "-vs 0". 1.58 2022-10-29 Add option "-nohold" that will drop existing connections when a new client connects. Update llhttp to v8.1.0. diff --git a/README.txt b/README.txt index 766cec9..ef7c68e 100644 --- a/README.txt +++ b/README.txt @@ -1022,12 +1022,12 @@ other settings are set in `UxPlay/lib/dnssdint.h`. # Changelog -1.59 2022-12-10 remove "ZOOMFIX" compile option and make compilation +1.59 2022-12-12 remove "ZOOMFIX" compile option and make compilation with X11-dependence the default if X11 development libraries are -detected (this now provides fullscreen mode with a F11 or Alt+Enter key -toggle); ZOOMFIX is automatically applied for GStreamer \< 1.20. The -cmake option -DNO_X11_DEPS allows compilation with no dependence on X11. -Reworked internal handling of metadata. +detected (this now also provides fullscreen mode with a F11 or Alt+Enter +key toggle); ZOOMFIX is now automatically applied for GStreamer \< 1.20. +New cmake option -DNO_X11_DEPS compiles uxplay without X11 dependence. +Reworked internal metadata handling. Fix segfault with "-vs 0". 1.58 2022-10-29 Add option "-nohold" that will drop existing connections when a new client connects. Update llhttp to v8.1.0. diff --git a/uxplay.cpp b/uxplay.cpp index df0bcfb..7cdfa87 100644 --- a/uxplay.cpp +++ b/uxplay.cpp @@ -896,6 +896,15 @@ int main (int argc, char *argv[]) { #endif parse_arguments (argc, argv); + +#ifdef _WIN32 /* don't buffer stdout in WIN32 when debug_log = false */ + if (!debug_log) { + setbuf(stdout, NULL); + } +#endif + + LOGI("UxPlay %s: An Open-Source AirPlay mirroring and audio-streaming server.", VERSION); + if (audiosink == "0") { use_audio = false; dump_audio = false; @@ -915,12 +924,6 @@ int main (int argc, char *argv[]) { } } -#ifdef _WIN32 /* don't buffer stdout in WIN32 when debug_log = false */ - if (!debug_log) { - setbuf(stdout, NULL); - } -#endif - #if __APPLE__ /* force use of -nc option on macOS */ LOGI("macOS detected: use -nc option as workaround for GStreamer problem"); @@ -975,7 +978,7 @@ int main (int argc, char *argv[]) { video_decoder.c_str(), video_converter.c_str(), videosink.c_str(), &fullscreen); video_renderer_start(); } - + if (udp[0]) LOGI("using network ports UDP %d %d %d TCP %d %d %d", udp[0],udp[1], udp[2], tcp[0], tcp[1], tcp[2]);