From d4c6a078285dda636e283413fdbd9b1adeab5ade Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 22 Dec 2013 18:04:29 +0100 Subject: Test for InputMpegFile --- src/inputs/Input.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/inputs/Input.h') 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(); } -- cgit v1.2.3