all: clean up cVideo header, separate private stuff

This commit is contained in:
Stefan Seyfried
2013-11-02 18:44:34 +01:00
parent 5a56339925
commit 69527185a9
23 changed files with 494 additions and 957 deletions

View File

@@ -37,7 +37,7 @@
#include "lt_debug.h"
/* needed for getSTC :-( */
#include "video_lib.h"
#include "video_hal.h"
extern cVideo *videoDecoder;
#define lt_debug(args...) _lt_debug(TRIPLE_DEBUG_DEMUX, this, args)
@@ -468,8 +468,11 @@ void cDemux::removePid(unsigned short Pid)
void cDemux::getSTC(int64_t * STC)
{
int64_t pts = 0;
#if 0
/* is not yet implemented in vdec anyway */
if (videoDecoder)
pts = videoDecoder->GetPTS();
#endif
*STC = pts;
}