Commit 4e37121f authored by Sam Thursfield's avatar Sam Thursfield
Browse files

Use 'blocklist' instead of 'blacklist'

The word 'blacklist' comes from the medieval term 'black book'. However,
since 'black' is now used to describe people we should avoid additional
negative associations with it. Use 'blocklist'.

See also: https://www.zdnet.com/article/github-to-replace-master-with-alternative-term-to-avoid-slavery-references/
parent e840de73
Pipeline #189044 passed with stage
in 3 minutes and 10 seconds
......@@ -155,7 +155,7 @@ Boston, MA 02110-1301, USA.
<key name="ignored-directories-with-content" type="as">
<summary>Ignored directories with content</summary>
<description>Avoid any directory containing a file blacklisted here</description>
<description>Avoid any directory containing a file blocklisted here</description>
<default>[ '.trackerignore', '.git', '.hg', '.nomedia' ]</default>
</key>
</schema>
......
......@@ -1310,7 +1310,7 @@ G_MODULE_EXPORT gboolean
tracker_extract_module_init (GError **error)
{
/* Lifted from totem-video-thumbnailer */
const gchar *blacklisted[] = {
const gchar *blocklisted[] = {
"bcmdec",
"vaapi",
"video4linux2"
......@@ -1321,10 +1321,10 @@ tracker_extract_module_init (GError **error)
gst_init (NULL, NULL);
registry = gst_registry_get ();
for (i = 0; i < G_N_ELEMENTS (blacklisted); i++) {
for (i = 0; i < G_N_ELEMENTS (blocklisted); i++) {
GstPlugin *plugin =
gst_registry_find_plugin (registry,
blacklisted[i]);
blocklisted[i]);
if (plugin)
gst_registry_remove_plugin (registry, plugin);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment