From 62904593cc27e86a32aa07f43108a160ec52371d Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 26 Jul 2016 08:44:05 +0000 Subject: using DecodeFactory::properties() for factory search git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6602 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/converter/converter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/General/converter') diff --git a/src/plugins/General/converter/converter.cpp b/src/plugins/General/converter/converter.cpp index 702a0aae2..cf6f8947e 100644 --- a/src/plugins/General/converter/converter.cpp +++ b/src/plugins/General/converter/converter.cpp @@ -82,7 +82,7 @@ bool Converter::prepare(const QString &url, int row, const QVariantMap &preset) DecoderFactory *factory = 0; if(!source->url().contains("://")) - factory = Decoder::findByPath(source->url()); + factory = Decoder::findByFilePath(source->url()); if(!factory) factory = Decoder::findByMime(source->contentType()); if(!factory && source->ioDevice() && source->url().contains("://")) //ignore content of local files -- cgit v1.2.3-13-gbd6f