[mythtv] [PATCH] position map using frame numbers, rev 2
doug at ties.org
Sun Dec 14 11:08:24 EST 2003
> Also, I'm not sure about that function [PosMapFromEnc] -- it's
> getting called fairly often, and each call is going to be 3 separate
> queries to the backend (IsRecording, GetFramesWritten, and
> FillPositionMap). The old code attempted to minimize talking to the
> backend like that, only querying it when it would help out, as in
> with a seek forward into unknown video data. Doesn't really make
> much sense to ask the backend that often for information we already
> have or can figure out.
I can definitely tweak this once it's otherwise working in general.
When I wrote that, I didn't realize we get a state change notification
when WatchingRecording transforms to WatchingPreRecorded, and so it's
trying to be a bit more bulletproof than it really needs to be.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20031214/dbdc3a6c/attachment.pgp
More information about the mythtv-dev