X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/6f85c322e5a04efcf2f39868baeda974f9ec87aa..899dc0f3d28c8321954f041ebd0c5611aec25857:/lib/dvb/demux.cpp diff --git a/lib/dvb/demux.cpp b/lib/dvb/demux.cpp index d7fcaccf..78c55bfe 100644 --- a/lib/dvb/demux.cpp +++ b/lib/dvb/demux.cpp @@ -96,7 +96,7 @@ RESULT eDVBDemux::getMPEGDecoder(ePtr &decoder) return 0; } -RESULT eDVBDemux::getSTC(pts_t &pts) +RESULT eDVBDemux::getSTC(pts_t &pts, int num) { int fd = openDemux(); @@ -104,7 +104,7 @@ RESULT eDVBDemux::getSTC(pts_t &pts) return -ENODEV; struct dmx_stc stc; - stc.num = 0; + stc.num = num; stc.base = 1; if (ioctl(fd, DMX_GET_STC, &stc) < 0)