driver/record: make CStreamRec non-public

CStreamRec is only used inside CRecordManager::Record, so it
can be implemented completely inside record.cpp. The positive
side effect is that avformat.h is not included everywhere (e.g.
from moviebrowser/mb.h) and thus AVFORMAT_CFLAGS does not need
to be added everywhere to fix build failures.


Origin commit data
------------------
Commit: b5cb683048
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-10-22 (Sat, 22 Oct 2016)
This commit is contained in:
Stefan Seyfried
2016-10-22 12:08:57 +02:00
committed by vanhofen
parent 0f962fef46
commit 3ac22e81b2
2 changed files with 35 additions and 0 deletions

View File

@@ -42,9 +42,11 @@
#include <OpenThreads/Mutex>
#include <OpenThreads/Thread>
#if 0
extern "C" {
#include <libavformat/avformat.h>
}
#endif
#define REC_MAX_APIDS 10
#define FILENAMEBUFFERSIZE 1024
@@ -237,6 +239,7 @@ class CRecordManager : public CMenuTarget /*, public CChangeObserver*/
#endif
};
#if 0
class CStreamRec : public CRecordInstance, OpenThreads::Thread
{
private:
@@ -263,5 +266,6 @@ class CStreamRec : public CRecordInstance, OpenThreads::Thread
bool Stop(bool remove_event = true);
static int Interrupt(void * data);
};
#endif
#endif