summaryrefslogtreecommitdiffstats
path: root/libhb/scan.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2015-09-25 14:02:19 -0700
committerJohn Stebbins <[email protected]>2015-09-29 09:47:56 -0700
commit291243c3fcd34282a700b059995c27a993b12e71 (patch)
tree3d4ec14d3df387ddb47b1611b69cc54c521dd137 /libhb/scan.c
parentc349173bb641530a97f787e75e9aa14fff043506 (diff)
scan: fix rescan avoidance logic
We need to rescan when the number of previews changes.
Diffstat (limited to 'libhb/scan.c')
-rw-r--r--libhb/scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/scan.c b/libhb/scan.c
index 2280644ba..8626ccca8 100644
--- a/libhb/scan.c
+++ b/libhb/scan.c
@@ -240,6 +240,7 @@ static void ScanFunc( void * _data )
hb_title_close( &title );
continue;
}
+ title->preview_count = npreviews;
/* Make sure we found audio rates and bitrates */
for( j = 0; j < hb_list_count( title->list_audio ); )