aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputs/InputMpegFile.cpp
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/InputMpegFile.cpp
parentb0183733ef4c6f08ef8c7b73155268e54ca3f152 (diff)
downloaddabmux-ooinputs.tar.gz
dabmux-ooinputs.tar.bz2
dabmux-ooinputs.zip
Test for InputMpegFileooinputs
Diffstat (limited to 'src/inputs/InputMpegFile.cpp')
-rw-r--r--src/inputs/InputMpegFile.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/inputs/InputMpegFile.cpp b/src/inputs/InputMpegFile.cpp
index 480a251..f61c410 100644
--- a/src/inputs/InputMpegFile.cpp
+++ b/src/inputs/InputMpegFile.cpp
@@ -53,11 +53,6 @@ extern TcpLog etiLog;
#define MPEG_ORIGINAL -5
#define MPEG_EMPHASIS -6
-const char* InputMpegFile::GetName()
-{
- return m_name.c_str();
-}
-
int checkDabMpegFrame(void* data)
{
mpegHeader* header = (mpegHeader*)data;
@@ -184,6 +179,11 @@ MUTE_SUBCHANNEL:
return result;
}
+int InputMpegFile::ReadFrame(void* buffer, int size)
+{
+ return ReadFrameFromBuffer(buffer, size);
+}
+
#endif
#endif