diff options
author | John Stebbins <[email protected]> | 2015-09-25 14:02:19 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2015-09-29 09:47:56 -0700 |
commit | 291243c3fcd34282a700b059995c27a993b12e71 (patch) | |
tree | 3d4ec14d3df387ddb47b1611b69cc54c521dd137 /libhb/hb_json.c | |
parent | c349173bb641530a97f787e75e9aa14fff043506 (diff) |
scan: fix rescan avoidance logic
We need to rescan when the number of previews changes.
Diffstat (limited to 'libhb/hb_json.c')
-rw-r--r-- | libhb/hb_json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/hb_json.c b/libhb/hb_json.c index a9d104b90..e5c64bb9f 100644 --- a/libhb/hb_json.c +++ b/libhb/hb_json.c @@ -751,7 +751,7 @@ void hb_json_job_scan( hb_handle_t * h, const char * json_job ) // If the job wants to use Hardware decode, it must also be // enabled during scan. So enable it here. hb_hwd_set_enable(h, use_hwd); - hb_scan(h, path, title_index, 10, 0, 0); + hb_scan(h, path, title_index, -1, 0, 0); // Wait for scan to complete hb_state_t state; |