Skip to content

Commit

Permalink
input/mms: move MMS_BUFFER_SIZE into the class
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Jul 30, 2024
1 parent 72b0eeb commit dc51015
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/input/plugins/MmsInputPlugin.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit dc51015

Please sign in to comment.