diff options
author | John Stebbins <[email protected]> | 2017-01-16 14:54:13 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2017-01-16 14:54:13 -0800 |
commit | 922db9bec26e1def4c8ba60afb2147cc06ec524d (patch) | |
tree | ea985c488ed517cd84a850cbb45b344cb65bd22d /libhb/hb.c | |
parent | d8aeda196a508952a230402787227b2640d4e884 (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.c | 5 |
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 |