From b06f6a12441c6f059b761e6c945fb0c0003fd3ee Mon Sep 17 00:00:00 2001 From: fduncanh Date: Fri, 6 Aug 2021 14:55:28 -0400 Subject: [PATCH] remove default display values from uxplay.cpp (use those set in raop.c) --- uxplay.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/uxplay.cpp b/uxplay.cpp index 4acae82..0d29a00 100755 --- a/uxplay.cpp +++ b/uxplay.cpp @@ -37,8 +37,6 @@ #define DEFAULT_NAME "UxPlay" #define DEFAULT_DEBUG_LOG false -#define DEFAULT_DISPLAY_WIDTH 1920 -#define DEFAULT_DISPLAY_HEIGHT 1080 #define LOWEST_ALLOWED_PORT 1024 #define HIGHEST_PORT 65535 @@ -195,9 +193,7 @@ int main (int argc, char *argv[]) { bool use_audio = true; bool use_random_hw_addr = false; bool debug_log = DEFAULT_DEBUG_LOG; - unsigned short display_size[2] = { (unsigned short) DEFAULT_DISPLAY_WIDTH, - (unsigned short) DEFAULT_DISPLAY_HEIGHT }; - unsigned short tcp[2] = {0}, udp[3] = {0}; + unsigned short display_size[2] = {0}, tcp[2] = {0}, udp[3] = {0}; videoflip_t videoflip[2] = { NONE , NONE }; #ifdef AVAHI_COMPAT_NOWARN