From 64aa1606b58e9654385333031c5d7bf02989bf49 Mon Sep 17 00:00:00 2001 From: nickkelsey Date: Tue, 3 Mar 2020 09:03:26 -0700 Subject: [PATCH] 20200303 --- hdhomerun_device.c | 3 +++ hdhomerun_os_windows.c | 1 + 2 files changed, 4 insertions(+) diff --git a/hdhomerun_device.c b/hdhomerun_device.c index ff2650b..64699cc 100644 --- a/hdhomerun_device.c +++ b/hdhomerun_device.c @@ -377,6 +377,9 @@ static bool hdhomerun_device_get_tuner_status_lock_is_bcast(struct hdhomerun_tun if (strcmp(status->lock_str, "8vsb") == 0) { return true; } + if (strcmp(status->lock_str, "atsc3") == 0) { + return true; + } if (strncmp(status->lock_str, "t8", 2) == 0) { return true; } diff --git a/hdhomerun_os_windows.c b/hdhomerun_os_windows.c index ea65945..7d49179 100644 --- a/hdhomerun_os_windows.c +++ b/hdhomerun_os_windows.c @@ -113,6 +113,7 @@ void thread_task_join(thread_task_t tid) return; } if (ExitCode != STILL_ACTIVE) { + CloseHandle(tid); return; } }