input/mms: move MMS_BUFFER_SIZE into the class
This commit is contained in:
parent
72b0eeb7b1
commit
dc51015c75
@ -10,15 +10,15 @@
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user