summaryrefslogtreecommitdiffstats
path: root/libhb/scan.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-01-18 16:40:14 -0800
committerJohn Stebbins <[email protected]>2019-01-21 16:26:14 -0800
commita4f27a449479afbd69b96bb52f36ddd5a00b8e04 (patch)
treeb9d382ea60f4bc1ac5e9001251a524f8cd2a4d3f /libhb/scan.c
parent2a313ee5c3e12c2f75e88f99d4ad4ce0f78f17a5 (diff)
scan: only apply min duration filter to BD and DVD
Fixes https://github.com/HandBrake/HandBrake/issues/1590
Diffstat (limited to 'libhb/scan.c')
-rw-r--r--libhb/scan.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libhb/scan.c b/libhb/scan.c
index a6c5d2eae..b034acc88 100644
--- a/libhb/scan.c
+++ b/libhb/scan.c
@@ -155,7 +155,7 @@ static void ScanFunc( void * _data )
if( data->title_index )
{
/* Scan this title only */
- title = hb_batch_title_scan(data->batch, data->title_index, 0);
+ title = hb_batch_title_scan(data->batch, data->title_index);
if ( title )
{
hb_list_add( data->title_set->list_title, title );
@@ -169,8 +169,7 @@ static void ScanFunc( void * _data )
hb_title_t * title;
UpdateState1(data, i + 1);
- title = hb_batch_title_scan(data->batch, i + 1,
- data->min_title_duration);
+ title = hb_batch_title_scan(data->batch, i + 1);
if ( title != NULL )
{
hb_list_add( data->title_set->list_title, title );