[mythtv] num of frames played vs nvp->GetTotalFrameCount()

Pekka Jääskeläinen pekka.jaaskelainen at gmail.com
Tue Jan 30 07:08:08 UTC 2007


> If you look in ClassicCommDetector, you'll see that I do the following
> to set the current frame number:
>
>     VideoFrame* currentFrame = nvp->GetRawVideoFrame();
>     currentFrameNumber = currentFrame->frameNumber;
>
> That way I'm syncing my frame numbers with the decoder's frame counter.

Ticket that might be related to this:
http://cvs.mythtv.org/trac/ticket/2359

I'm not sure that I tried nvp->GetRawVideoFrame() to get correct
synch. I'll try it on weekend.

-- 
--PJ


More information about the mythtv-dev mailing list