Is there any example to subclass GstSystemClock?

yuan.fang whitefangyuan at 163.com
Tue May 28 13:03:56 UTC 2019


Hi expert

I met a same issue with you , have you get an example or guidance to
subclass GstSystemClock?

Thanks!
Halley Zhao wrote
> I looked into GstAudioClock, pulsesink; and find that the simple solution
> may be creating a GstAudioClock with customized GstAudioClockGetTimeFunc.
> expect it will work for me.
> 
>   GST_AUDIO_BASE_SINK (pulsesink)->provided_clock =
>       gst_audio_clock_new ("GstPulseSinkClock",
>       (GstAudioClockGetTimeFunc) gst_pulsesink_get_time, pulsesink, NULL);
> 
> _______________________________________________
> gstreamer-devel mailing list

> gstreamer-devel at .freedesktop

> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list