summaryrefslogtreecommitdiffstats
path: root/libhb/hb.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2017-01-16 14:54:13 -0800
committerGitHub <[email protected]>2017-01-16 14:54:13 -0800
commit922db9bec26e1def4c8ba60afb2147cc06ec524d (patch)
treeea985c488ed517cd84a850cbb45b344cb65bd22d /libhb/hb.c
parentd8aeda196a508952a230402787227b2640d4e884 (diff)
libhb: force title rescan after completing a job encode (#488)
Fixes https://forum.handbrake.fr/viewtopic.php?f=12&t=35583
Diffstat (limited to 'libhb/hb.c')
-rw-r--r--libhb/hb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libhb/hb.c b/libhb/hb.c
index 562f0dc70..f8bba2a66 100644
--- a/libhb/hb.c
+++ b/libhb/hb.c
@@ -659,6 +659,11 @@ void hb_scan( hb_handle_t * h, const char * path, int title_index,
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