aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputs/InputMpegFile.cpp
diff options
context:
space:
mode:
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;