From 348563bc192cc24941e583452e6243ff61aac51e Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Wed, 16 Mar 2011 10:50:39 +0100 Subject: iterator: Refactor GstIterator to be more binding friendly and have saner refcounting Fixes bug #638987. --- gst/gstplugin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gst/gstplugin.c') diff --git a/gst/gstplugin.c b/gst/gstplugin.c index 8f1f01eba..31a0e44eb 100644 --- a/gst/gstplugin.c +++ b/gst/gstplugin.c @@ -1538,7 +1538,7 @@ gst_plugin_ext_dep_scan_dir_and_match_names (GstPlugin * plugin, GDir *dir; guint hash = 0; - recurse_dirs = !!(flags & GST_PLUGIN_DEPENDENCY_FLAG_RECURSE); + recurse_dirs = ! !(flags & GST_PLUGIN_DEPENDENCY_FLAG_RECURSE); dir = g_dir_open (path, 0, &err); if (dir == NULL) { @@ -1600,8 +1600,8 @@ gst_plugin_ext_dep_scan_path_with_filenames (GstPlugin * plugin, if (filenames == NULL || *filenames == NULL) filenames = empty_filenames; - recurse_into_dirs = !!(flags & GST_PLUGIN_DEPENDENCY_FLAG_RECURSE); - partial_names = !!(flags & GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX); + recurse_into_dirs = ! !(flags & GST_PLUGIN_DEPENDENCY_FLAG_RECURSE); + partial_names = ! !(flags & GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX); /* if we can construct the exact paths to check with the data we have, just * stat them one by one; this is more efficient than opening the directory -- cgit v1.2.3