aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputs/Input.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inputs/Input.h')
-rw-r--r--src/inputs/Input.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/inputs/Input.h b/src/inputs/Input.h
index fe54160..d2dcd48 100644
--- a/src/inputs/Input.h
+++ b/src/inputs/Input.h
@@ -118,9 +118,12 @@ class InputFile : public InputBase {
#ifdef HAVE_FORMAT_MPEG
class InputMpegFile : public InputFile, public InputBuffered {
public:
- InputMpegFile(std::string fileName) :
+ InputMpegFile(std::string fileName,
+ int prebuffer_stages,
+ int frame_size,
+ int overfull_thresh) :
InputFile(fileName),
- InputBuffered(prebuffer_stages, source_size, overfull_thresh, 1)
+ InputBuffered(prebuffer_stages, frame_size, overfull_thresh, 1)
{ m_name = "mpeg " + m_filename;}
int ReadFrame(void* buffer, int size);
const char* GetName() { return m_name.c_str(); }