aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputs/Input.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2013-12-22 18:04:29 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2013-12-24 18:09:27 +0100
commitd4c6a078285dda636e283413fdbd9b1adeab5ade (patch)
tree302fa3e0a6faf2184454483ec27343e8324f70bd /src/inputs/Input.h
parentb0183733ef4c6f08ef8c7b73155268e54ca3f152 (diff)
downloaddabmux-d4c6a078285dda636e283413fdbd9b1adeab5ade.tar.gz
dabmux-d4c6a078285dda636e283413fdbd9b1adeab5ade.tar.bz2
dabmux-d4c6a078285dda636e283413fdbd9b1adeab5ade.zip
Test for InputMpegFileooinputs
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(); }