gst_pipeline_set_clock() doesn't take effect

Halley Zhao aihua.halley.zhao at gmail.com
Mon May 20 11:30:08 UTC 2019


thanks sir. it works!

Tim Müller <tim at centricular.com> 于2019年5月20日周一 下午2:40写道:

> On Mon, 2019-05-20 at 10:17 +0800, Halley Zhao wrote:
>
> Hi,
>
> >   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() doesn't work for
> > me.
> >
> >   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.
>
> Have you tried gst_pipeline_use_clock() yet?
>
> Cheers
>  Tim
>
> --
> Tim Müller, Centricular Ltd - http://www.centricular.com
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190520/889ed2a9/attachment.html>


More information about the gstreamer-devel mailing list