diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2012-01-18 21:48:29 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2012-01-18 21:48:29 +0000 |
commit | 7c873b0529321eafb2968903dfcfd4258fcf6005 (patch) | |
tree | 63fea15b89aad68725988f3f3ef8aec0f80b3107 /src/xine-engine/load_plugins.c | |
parent | c2ffae7ba0ec07f30e1887ff7ba4612c19e2dce4 (diff) | |
download | xine-lib-7c873b0529321eafb2968903dfcfd4258fcf6005.tar.gz xine-lib-7c873b0529321eafb2968903dfcfd4258fcf6005.tar.bz2 |
Hack to avoid xine-list-* causing catalog.cache to be written.
Diffstat (limited to 'src/xine-engine/load_plugins.c')
-rw-r--r-- | src/xine-engine/load_plugins.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 06ff719e0..206f259e5 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -1201,7 +1201,8 @@ void _x_scan_plugins (xine_t *this) { xine_list_delete (plugindirs); free(homedir); - save_catalog (this); + if ((_x_flags & XINE_FLAG_NO_WRITE_CACHE) == 0) + save_catalog (this); load_required_plugins (this); |