Is there any example to subclass GstSystemClock?

Halley Zhao aihua.halley.zhao at gmail.com
Mon Apr 15 04:00:32 UTC 2019


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);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190415/a71c2fbf/attachment-0001.html>


More information about the gstreamer-devel mailing list