[vlc-commits] fingerprinter: don't hardcode acoustid module selection
Francois Cartegnie
git at videolan.org
Fri Jun 21 14:42:11 CEST 2013
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jun 21 14:37:04 2013 +0200| [648a4893c5fe1f7bebb8e90cf31cf1e31124a1ac] | committer: Francois Cartegnie
fingerprinter: don't hardcode acoustid module selection
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=648a4893c5fe1f7bebb8e90cf31cf1e31124a1ac
---
modules/misc/fingerprinter.c | 2 +-
src/misc/fingerprinter.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/misc/fingerprinter.c b/modules/misc/fingerprinter.c
index 0daebcc..7c445e2 100644
--- a/modules/misc/fingerprinter.c
+++ b/modules/misc/fingerprinter.c
@@ -79,7 +79,7 @@ vlc_module_begin ()
set_category(CAT_ADVANCED)
set_shortname(N_("acoustid"))
set_description(N_("Track fingerprinter (based on Acoustid)"))
- set_capability("fingerprinter", 1)
+ set_capability("fingerprinter", 10)
set_callbacks(Open, Close)
vlc_module_end ()
diff --git a/src/misc/fingerprinter.c b/src/misc/fingerprinter.c
index 9e70755..725b70e 100644
--- a/src/misc/fingerprinter.c
+++ b/src/misc/fingerprinter.c
@@ -40,7 +40,7 @@ fingerprinter_thread_t *fingerprinter_Create( vlc_object_t *p_this )
}
p_fingerprint->p_module = module_need( p_fingerprint, "fingerprinter",
- "acoustid", false );
+ NULL, false );
if( !p_fingerprint->p_module )
{
vlc_object_release( p_fingerprint );
More information about the vlc-commits
mailing list