From d4c6a078285dda636e283413fdbd9b1adeab5ade Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 22 Dec 2013 18:04:29 +0100 Subject: Test for InputMpegFile --- src/inputs/InputMpegFile.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/inputs/InputMpegFile.cpp') 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 -- cgit v1.2.3