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)



Johannes Stezenbach wrote:
> 
> (Sorry, can't Cc: vdr@linuxtv.org because I'm not subscribed.)
> 
> Klaus Schmidinger wrote:
> >
> > 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?
> 
> That's not the way the hardware works. The STC is fed by a 27Mhz
> crystal, and synced to the PCR by reloading the STC when the
> PCR/STC difference is too high and otherwise modulating the
> 27Mhz frequency by some control output (usually a PWM signal)
> which is set by a software implemented PLL. It's implemented
> this way across all the hardwares I know, only the parameters
> for the software PLL may differ. (It's pretty much specified
> like that in iso13818-1.) If no new PCRs arrive the STC is free
> running.
> 
> If you do trick modes, don't look at the STC.
> 
> Well, one could handle PAUSE in the driver by returning
> the last STC value from just before the PAUSE for
> DMX_GET_STC, but that's not implemented.
> 
> Johannes

Well, it's not really a problem, since the player knows when it's
in pause mode. Just thought I'd mention it. If this is how it's
supposed to be, that's just fine with me...

Klaus


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



Home | Main Index | Thread Index