On Mon, Apr 30, 2012 at 10:39 AM, Øyvind Kolås <[email protected]> wrote:
> On Mon, Apr 30, 2012 at 5:19 AM, Stefan de Konink <[email protected]> wrote:
>> I figured out that ClutterMedia only supports seeking by a relative position
>> between 0.0 - 1.0.
>>
>> Is there any way to say: I want to seek to 10s?
>
> seek to 10.0 / duration_in_seconds ?

You also need to take into account that the kind of seek is not
defined in ClutterMedia, it's implementation specific. For a better
control on seeking, you can use some clutter_gst_ specific API that
let's you seek accurately or fast (key frames). For 10s increments I'd
set the accurate flag.

Ultimately, you can grab the GstPipeline and do it yourself.

-- 
Damien
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to