Changelog for 1.59, add initial terminal message with uxplay version

This commit is contained in:
F. Duncanh
2022-12-12 12:59:41 -05:00
parent 2644133234
commit 61d7426861
4 changed files with 26 additions and 22 deletions

View File

@@ -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]);