<div dir="ltr">thanks sir. it works!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Tim Müller <<a href="mailto:tim@centricular.com">tim@centricular.com</a>> 于2019年5月20日周一 下午2:40写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 2019-05-20 at 10:17 +0800, Halley Zhao wrote:<br>
<br>
Hi,<br>
<br>
>   then I try to use my customized clock to control the video playback<br>
> (in fact, I used the above pipeline inside a bigger/complete<br>
> pipeline). however, I found gst_pipeline_set_clock() doesn't work for<br>
> me.<br>
>   <br>
>   I call gst_pipeline_set_clock() before setting the pipeline to<br>
> PLAYING state, and gst logs shows it take effect (the clock is set to<br>
> each element); but when the pipeline changed state to<br>
> PAUSED, gst_bin_provide_clock_func() return NULL (it is strange),<br>
> and gst_system_clock_obtain() is called to update the clock.<br>
<br>
Have you tried gst_pipeline_use_clock() yet?<br>
<br>
Cheers<br>
 Tim<br>
<br>
-- <br>
Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a><br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div>