Is there any example to subclass GstSystemClock?

yuan.fang whitefangyuan at
Tue May 28 12:58:57 UTC 2019

hi expert

I met a same problem with you, do you have an example or guidance to
subclass a  GstSystemClock now?

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


Sent from:

More information about the gstreamer-devel mailing list