From 211d6a06ab5a286c623d2dce901115dec316a31d Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 21 Dec 2013 17:46:41 +0100 Subject: Add InputBuffered --- src/inputs/InputMpegFile.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/inputs/InputMpegFile.cpp') 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; -- cgit v1.2.3