mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
plugin: Allow device nodes as dependency
This is useful for feature that are produced after probing a specific node. You want to reload this plugin if the specific node(s) have been removed, added, or reloaded. https://bugzilla.gnome.org/show_bug.cgi?id=758080
This commit is contained in:
parent
446b3e6ddc
commit
79b935b304
1 changed files with 1 additions and 1 deletions
|
@ -1492,7 +1492,7 @@ gst_plugin_ext_dep_extract_env_vars_paths (GstPlugin * plugin,
|
|||
static guint
|
||||
gst_plugin_ext_dep_get_hash_from_stat_entry (GStatBuf * s)
|
||||
{
|
||||
if (!(s->st_mode & (S_IFDIR | S_IFREG)))
|
||||
if (!(s->st_mode & (S_IFDIR | S_IFREG | S_IFBLK | S_IFCHR)))
|
||||
return (guint) - 1;
|
||||
|
||||
/* completely random formula */
|
||||
|
|
Loading…
Reference in a new issue