diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2013-12-21 17:46:41 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2013-12-24 18:09:26 +0100 |
commit | 211d6a06ab5a286c623d2dce901115dec316a31d (patch) | |
tree | 40e60dc7b47aeea21292dec2748d4fc72663f5d0 /src/inputs/InputMpegFile.cpp | |
parent | abec4838d2536812a4fe382334a1c9f500f7728b (diff) | |
download | dabmux-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.cpp | 7 |
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; |