summaryrefslogtreecommitdiffstats
path: root/libhb/scan.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-06-25 15:55:59 -0700
committerJohn Stebbins <[email protected]>2019-06-25 16:06:10 -0700
commit25e1f04a63dc07e944522a10e9f9733e027cb9f5 (patch)
tree8e4eb686468ce9e86b6a8a704d4fb135310bd213 /libhb/scan.c
parenta8b2607e4bb59445f76d6b3d1733595bb856070c (diff)
LinGui: add queue statistics
and tweak the layout per BradleyS suggestions
Diffstat (limited to 'libhb/scan.c')
-rw-r--r--libhb/scan.c3
1 files changed, 3 insertions, 0 deletions
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;