store_previews, min_duration );
}
+void hb_force_rescan( hb_handle_t * h )
+{
+ h->title_set.path[0] = 0;
+}
+
/**
* Returns the list of titles found.
* @param h Handle to hb_handle_t
int title_index, int preview_count,
int store_previews, uint64_t min_duration );
void hb_scan_stop( hb_handle_t * );
+void hb_force_rescan( hb_handle_t * );
uint64_t hb_first_duration( hb_handle_t * );
/* hb_get_titles()
while( !*work->die && ( job = hb_list_item( work->jobs, 0 ) ) )
{
+ hb_handle_t * h = job->h;
+
hb_list_rem( work->jobs, job );
hb_list_t * passes = hb_list_init();
hb_job_close(&job);
}
hb_list_close(&passes);
+
+ // Force rescan of next source processed by this hb_handle_t
+ // TODO: Fix this ugly hack!
+ hb_force_rescan(h);
}
free( work );