Timestamp problem...

Eric Trousset etrousset at awox.com
Mon Dec 9 03:41:30 PST 2013


Hi,
I m back on the project. 
I've been investigating more this morning and actually, its seems I can manage to display buffer correctly if I don't go thru the videomixer element. 

So I wonder if it can have to do with video rate handling in videomixer?

Concerning the clock I now have one ok. Just the first time the create function is called, and the state is still PAUSED, I have no clock. What should I do in this case?

Regards, 
Eric

> -----Original Message-----
> From: Sebastian Dröge [mailto:sebastian at centricular.com]
> Sent: mercredi 27 novembre 2013 15:54
> To: Discussion of the development of and with GStreamer
> Subject: Re: Timestamp problem...
> 
> On Mi, 2013-11-27 at 14:29 +0100, Eric Trousset wrote:
> > I managed to fix my media playback issue, and now my src has a clock. I just
> added a bus watch.
> 
> The clock distribution is independent from any bus watches on the pipeline.
> What exactly did you change? Really just add a bus watch for the bus of the
> pipeline? That sounds wrong.
> 
> Can you provide some code to show what you're doing?
> 
> > So now I am just missing the base_time.
> 
> That's distributed to elements by GstBin/GstPipeline when it goes to
> PLAYING state. Is it always GST_CLOCK_TIME_NONE for you, no matter
> when you get it?
> 
> Also in your previous example, use gst_element_get_clock() and
> gst_element_get_base_time() or lock the GST_OBJECT_LOCK() when using
> the macros to access them.
> 
> --
> Sebastian Dröge <sebastian at centricular.com> Centricular Ltd -
> http://www.centricular.com Expertise, Straight from the Source


More information about the gstreamer-devel mailing list