From aa3f57c0236c77f2fd90415fc1f3062a93b25b93 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 24 Nov 2010 18:17:51 +0000 Subject: some api changes, partial mpris 2.0 implementation git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1991 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/mad/decodermadfactory.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/plugins/Input/mad/decodermadfactory.cpp') diff --git a/src/plugins/Input/mad/decodermadfactory.cpp b/src/plugins/Input/mad/decodermadfactory.cpp index 3e38cb4b0..39f31d9da 100644 --- a/src/plugins/Input/mad/decodermadfactory.cpp +++ b/src/plugins/Input/mad/decodermadfactory.cpp @@ -55,6 +55,7 @@ bool DecoderMADFactory::supports(const QString &source) const return true; } } + qDebug("false"); return false; } @@ -86,9 +87,9 @@ const DecoderProperties DecoderMADFactory::properties() const DecoderProperties properties; properties.name = tr("MPEG Plugin"); properties.shortName = "mad"; - properties.filter = "*.mp1 *.mp2 *.mp3 *.wav"; + properties.filters << "*.mp1" << "*.mp2" << "*.mp3" << "*.wav"; properties.description = tr("MPEG Files"); - properties.contentType = "audio/mp3;audio/mpeg"; + properties.contentTypes << "audio/mp3" << "audio/mpeg"; properties.hasAbout = true; properties.hasSettings = true; return properties; -- cgit v1.2.3-13-gbd6f