gst_pipeline_set_clock() doesn't take effect
nicolas at ndufresne.ca
Mon May 20 22:54:36 UTC 2019
Le lun. 20 mai 2019 00 h 26, Halley Zhao <aihua.halley.zhao at gmail.com> a
> Hi Expert:
> I created my customized pipeline as
> then I try to use my customized clock to control the video playback (in
> fact, I used the above pipeline inside a bigger/complete pipeline).
> however, I found gst_pipeline_set_clock() doens't work for me.
set_clock is a one time thing, use gst_pipeline_use_clock() instead.
> I call gst_pipeline_set_clock() before setting the pipeline to PLAYING
> state, and gst logs shows it take effect (the clock is set to each
> element); but when the pipeline changed state to
> PAUSED, gst_bin_provide_clock_func() return NULL (it is strange),
> and gst_system_clock_obtain() is called to update the clock.
> I'm not sure whether there is something wrong in my code, or potential
> mistake in gst base code.
> here is my sample code and gst logs(GST_DEBUG=*:6).
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel