diff options
author | jstebbins <[email protected]> | 2009-06-19 21:52:10 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-06-19 21:52:10 +0000 |
commit | 931fe0e46e71e949ccc8c67f45503de695879ae2 (patch) | |
tree | f1d938be56787842b426863767c90653cfbca61b /gtk/src/main.c | |
parent | e72c285bea7f766b3378e9ed2a6e3afe95c57278 (diff) |
LinGui:
- clear the dvd volume name cache when rescanning the attached dvd devices.
- also protect the cache with a mutex to prevent the unlikely-but-possible
collision between threads.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2579 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r-- | gtk/src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c index fc0a78d8c..2294666e3 100644 --- a/gtk/src/main.c +++ b/gtk/src/main.c @@ -788,6 +788,7 @@ main (int argc, char *argv[]) g_timeout_add (500, ghb_timer_cb, (gpointer)ud); // Add dvd devices to File menu + ghb_volname_cache_init(); g_thread_create((GThreadFunc)ghb_cache_volnames, ud, FALSE, NULL); GtkStatusIcon *si; |