Can't seek with gnonlin

Ralph ralph.gucwa at racelogic.co.uk
Fri Oct 31 04:59:56 PDT 2014


> You should set caps to the composition also

Good to know, I'm doing it now.



> 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).

After modifying gnlurisource properties, when I execute the following line:

the video is not displayed at all and nothing works.
If I don't commit the changes to gnlcomposition, the file is played
correctly.



> I guess you wait for ASYNC_DONE on the bus? The pipeline prerolls
> properly right?

Yes, the pipeline prerolls properly and the first frame is displayed.  After
receiving ASYNC_DONE I can play and pause without any problems.  The only
thing that doesn't work is seeking.


Anyway, I found that the problem be caused by EOS sent prematurely.  I can
see in the log that while seeking, after frame 39, gnlcomposition receives
EOS.  This would explain why I can't play the file after a seek attempt.


Any idea where to look for the source of the problem?  Playbin seeks the
same video file without complaining.
I am going to write C# bindings for GES and start using GES instead of
gnonlin directly, but it will take a while and I need something to work for
now.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Can-t-seek-with-gnonlin-tp4669281p4669296.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list