aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputs/InputMpegFile.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2013-12-21 17:46:41 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2013-12-24 18:09:26 +0100
commit211d6a06ab5a286c623d2dce901115dec316a31d (patch)
tree40e60dc7b47aeea21292dec2748d4fc72663f5d0 /src/inputs/InputMpegFile.cpp
parentabec4838d2536812a4fe382334a1c9f500f7728b (diff)
downloaddabmux-211d6a06ab5a286c623d2dce901115dec316a31d.tar.gz
dabmux-211d6a06ab5a286c623d2dce901115dec316a31d.tar.bz2
dabmux-211d6a06ab5a286c623d2dce901115dec316a31d.zip
Add InputBuffered
Diffstat (limited to 'src/inputs/InputMpegFile.cpp')
-rw-r--r--src/inputs/InputMpegFile.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/inputs/InputMpegFile.cpp b/src/inputs/InputMpegFile.cpp
index 265b0ee..480a251 100644
--- a/src/inputs/InputMpegFile.cpp
+++ b/src/inputs/InputMpegFile.cpp
@@ -53,6 +53,11 @@ 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;
@@ -79,7 +84,7 @@ int checkDabMpegFrame(void* data)
return -1;
}
-int InputMpegFile::ReadFrame(void* buffer, int size)
+int InputMpegFile::ReadSource(void* buffer, int size)
{
int result;
bool rewind = false;