input/mms: move MMS_BUFFER_SIZE into the class
This commit is contained in:
parent
72b0eeb7b1
commit
dc51015c75
@ -10,15 +10,15 @@
|
|||||||
|
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
static constexpr size_t MMS_BUFFER_SIZE = 256 * 1024;
|
|
||||||
|
|
||||||
class MmsInputStream final : public ThreadInputStream {
|
class MmsInputStream final : public ThreadInputStream {
|
||||||
|
static constexpr std::size_t BUFFER_SIZE = 256 * 1024;
|
||||||
|
|
||||||
mmsx_t *mms;
|
mmsx_t *mms;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
MmsInputStream(const char *_uri, Mutex &_mutex)
|
MmsInputStream(const char *_uri, Mutex &_mutex)
|
||||||
:ThreadInputStream(input_plugin_mms.name, _uri, _mutex,
|
:ThreadInputStream(input_plugin_mms.name, _uri, _mutex,
|
||||||
MMS_BUFFER_SIZE)
|
BUFFER_SIZE)
|
||||||
{
|
{
|
||||||
Start();
|
Start();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user