Can't seek with gnonlin
Thibault Saunier
tsaunier at gnome.org
Fri Oct 31 03:00:48 PDT 2014
On Fri, Oct 31, 2014 at 10:28 AM, Ralph <ralph.gucwa at racelogic.co.uk> wrote:
> Sorry, if forgot about changing the state of the pipeline:
>
> My order of actions is as follows:
> 1. create and link all elements
> 2. add gnlurisource to gnlcomposition
You should set caps to the composition also
> 3. set properties of gnlurisource: uri, duration, caps
> 4. when a video pad is added to gnlcomposition, link it with the rest of the
> pipeline
> 5. change pipeline state to Paused
> 6. seek
I guess you wait for ASYNC_DONE on the bus? The pipeline prerolls
properly right?
You should commit the composition when you are done modifying
contained gnlobject properties (it allows us to apply all the changes
in one operation and in a thread safe way).
Regards,
Thibault Saunier
More information about the gstreamer-devel
mailing list