Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: PATCHES: vdr-1.2.6 (getSTC and mp2)



On Friday 07 November 2003 14:33, Klaus Schmidinger wrote:
> Oliver Endriss wrote:
> > 
> > On Wednesday 05 November 2003 19:39, Sven Goethel wrote:
> > > On Wednesday 05 November 2003 18:25, Klaus Schmidinger wrote:
> > > > Sven Goethel wrote:
> > > ...
> > > uh .. the dvb-api doc's says so,
> > > but i was confused by johannes mail:
> > > ...
> > > and thought it must be a dmx handle, which is mapped
> > > to such an appropriate device ..
> > >
> > > well it is great if it still works with a dummy handle,
> > > 'cause thats much less confusion and more simple ..
> > >
> > > > The GetSTC() thing might be an exception, if and only if it gets
> > > > rid of the AddPid() call and does this by using a separate file
> > > > handle (let's call it fd_stc), which, as far as I understand this,
> > > > just needs to be opened on the demux device and doesn't require
> > > > any special PID to be set on.
> > > >
> > >
> > > so .. do i ? or do you ?
> > >
> > > till when .. ? within this weekend is ok ?
> > 
> > Simply look at the sample code in DVB/apps/test/test_stc.c.
> > You can run this test software while vdr is running.
> > So you don't have to set any pids.
> 
> While testing the GetSTC function in VDR I saw that the value
> happily continues to count upwards even if I pause a replay.
> As soon as I continue replay the counter jumps back to where
> it was when Pause was pressed.
> 
> @Johannes: shouldn't the DMX_GET_STC call return a constant value
>            while in pause mode?

According to the av7110 datasheet (p. 57) the system time clock is 
basically a hardware counter, combined with an interrupt handler
which counts the upper bits of the STC.
I assume that the STC is simply running 'free' after you pressed 'pause'.

Another interesting feature(?):
STC ist set to 0, if you enter fast forward/backward mode.

Oliver


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index