mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
generic-pc: implement cDemux::getSTC()
This commit is contained in:
@@ -650,3 +650,13 @@ bool cVideo::GetScreenImage(unsigned char * &data, int &xres, int &yres, bool ge
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
int64_t cVideo::GetPTS(void)
|
||||
{
|
||||
int64_t pts = 0;
|
||||
buf_m.lock();
|
||||
if (buf_num != 0)
|
||||
pts = buffers[buf_out].pts();
|
||||
buf_m.unlock();
|
||||
return pts;
|
||||
}
|
||||
|
Reference in New Issue
Block a user