diff options
Diffstat (limited to 'src/plugins/Input/ffmpeg_legacy')
| -rw-r--r-- | src/plugins/Input/ffmpeg_legacy/decoderffmpegfactory.cpp | 11 | ||||
| -rw-r--r-- | src/plugins/Input/ffmpeg_legacy/decoderffmpegfactory.h | 3 |
2 files changed, 1 insertions, 13 deletions
diff --git a/src/plugins/Input/ffmpeg_legacy/decoderffmpegfactory.cpp b/src/plugins/Input/ffmpeg_legacy/decoderffmpegfactory.cpp index 6a278da43..f6b1f7c2d 100644 --- a/src/plugins/Input/ffmpeg_legacy/decoderffmpegfactory.cpp +++ b/src/plugins/Input/ffmpeg_legacy/decoderffmpegfactory.cpp @@ -39,17 +39,6 @@ extern "C"{ // DecoderFFmpegFactory -bool DecoderFFmpegFactory::supports(const QString &source) const -{ - foreach(QString filter, properties().filters) - { - QRegExp regexp(filter, Qt::CaseInsensitive, QRegExp::Wildcard); - if (regexp.exactMatch(source)) - return true; - } - return false; -} - bool DecoderFFmpegFactory::canDecode(QIODevice *i) const { av_register_all(); diff --git a/src/plugins/Input/ffmpeg_legacy/decoderffmpegfactory.h b/src/plugins/Input/ffmpeg_legacy/decoderffmpegfactory.h index c4b9b7a1a..030be2888 100644 --- a/src/plugins/Input/ffmpeg_legacy/decoderffmpegfactory.h +++ b/src/plugins/Input/ffmpeg_legacy/decoderffmpegfactory.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2015 by Ilya Kotov * + * Copyright (C) 2006-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -37,7 +37,6 @@ Q_OBJECT Q_INTERFACES(DecoderFactory) public: - bool supports(const QString &source) const; bool canDecode(QIODevice *input) const; const DecoderProperties properties() const; Decoder *create(const QString &, QIODevice *); |
