From 25e1f04a63dc07e944522a10e9f9733e027cb9f5 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Tue, 25 Jun 2019 15:55:59 -0700 Subject: LinGui: add queue statistics and tweak the layout per BradleyS suggestions --- libhb/scan.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libhb/scan.c') diff --git a/libhb/scan.c b/libhb/scan.c index 640ffdddb..53e3921ea 100644 --- a/libhb/scan.c +++ b/libhb/scan.c @@ -75,6 +75,7 @@ hb_thread_t * hb_scan_init( hb_handle_t * handle, volatile int * die, // Initialize scan state hb_state_t state; + hb_get_state2(handle, &state); #define p state.param.scanning state.state = HB_STATE_SCANNING; p.title_cur = 1; @@ -1434,6 +1435,7 @@ static void UpdateState1(hb_scan_t *scan, int title) { hb_state_t state; + hb_get_state2(scan->h, &state); #define p state.param.scanning /* Update the UI */ state.state = HB_STATE_SCANNING; @@ -1454,6 +1456,7 @@ static void UpdateState2(hb_scan_t *scan, int title) { hb_state_t state; + hb_get_state2(scan->h, &state); #define p state.param.scanning /* Update the UI */ state.state = HB_STATE_SCANNING; -- cgit v1.2.3