W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2009

[whatwg] Frame advance feature for a paused VIDEO

From: Philip Jägenstedt <philipj@opera.com>
Date: Tue, 26 May 2009 10:04:15 +0200
Message-ID: <op.uui11d15atwj1d@sisko.linkoping.osa>
On Tue, 26 May 2009 01:26:38 +0200, Robert O'Callahan  
<robert at ocallahan.org> wrote:

> On Tue, May 26, 2009 at 11:25 AM, Robert O'Callahan  
> <robert at ocallahan.org>wrote:
>
>> I don't think there is a standard way to expose the frame rate. We might
>> even want something more general than the frame rate, since conceivably  
>> you
>> could have a video format where the interval between frames is variable.
>>
>
> It's more than conceivable, actually --- chained Oggs can have the frame
> rate varying between segments. So if you're at the last frame of one  
> segment
> the time till the next frame can be different from the time since the
> previous frame.
>
> Rob

Indeed, I don't suggest adding an API for exposing the frame rate, I'm  
just saying that if you know the frame rate by some external means then  
you can just set currentTime.

-- 
Philip J?genstedt
Core Developer
Opera Software
Received on Tuesday, 26 May 2009 01:04:15 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:49 UTC