From 0e4cdf3cbb489f937745f534c09298792e342c1a Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Sun, 12 Mar 2006 00:01:46 +0000 Subject: [PATCH] Frame number stuff --- recplayer.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/recplayer.c b/recplayer.c index 09186e2..c2ff634 100644 --- a/recplayer.c +++ b/recplayer.c @@ -190,7 +190,10 @@ ULLONG RecPlayer::positionFromFrameNumber(ULONG frameNumber) return 0; } - log->log("RecPlayer", Log::DEBUG, "FN: %u FO: %i PT: %u L: %i", retFileNumber, retFileOffset, retPicType, retLength); +// log->log("RecPlayer", Log::DEBUG, "FN: %u FO: %i", retFileNumber, retFileOffset); + if (!segments[retFileNumber]) return 0; + ULLONG position = segments[retFileNumber]->start + retFileOffset; +// log->log("RecPlayer", Log::DEBUG, "Pos: %llu", position); - return 0; + return position; } -- 2.39.5