diff --git a/src/input/plugins/MmsInputPlugin.cxx b/src/input/plugins/MmsInputPlugin.cxx index 1e100edc1..2cd340a3a 100644 --- a/src/input/plugins/MmsInputPlugin.cxx +++ b/src/input/plugins/MmsInputPlugin.cxx @@ -10,15 +10,15 @@ #include -static constexpr size_t MMS_BUFFER_SIZE = 256 * 1024; - class MmsInputStream final : public ThreadInputStream { + static constexpr std::size_t BUFFER_SIZE = 256 * 1024; + mmsx_t *mms; public: MmsInputStream(const char *_uri, Mutex &_mutex) :ThreadInputStream(input_plugin_mms.name, _uri, _mutex, - MMS_BUFFER_SIZE) + BUFFER_SIZE) { Start(); }