mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
all: clean up cVideo header, separate private stuff
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user