Is there any example to subclass GstSystemClock?

yuan.fang whitefangyuan at 163.com
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?

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