Skip to content
Snippets Groups Projects
Commit c9447210 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #6099: remove active flags from codec classes

parent 07635ed0
No related branches found
No related tags found
No related merge requests found
......@@ -95,15 +95,6 @@ class Codec : public virtual MimeParameters
return buffer.str();
}
void setState(bool state) { _state = state; }
bool getState(void) { return _state; }
private:
bool _state;
};
}
......
......@@ -86,7 +86,6 @@ void AudioCodecFactory::setDefaultOrder()
while (iter != _CodecsMap.end()) {
_defaultCodecOrder.push_back (iter->first);
iter->second->setState (true);
iter ++ ;
}
}
......@@ -166,7 +165,6 @@ void AudioCodecFactory::saveActiveCodecs (const std::vector<std::string>& list)
if (isCodecLoaded (payload)) {
_defaultCodecOrder.push_back ( (AudioCodecType) payload);
_CodecsMap.find ( (AudioCodecType) payload)->second->setState (true);
}
i++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment