<span style="font-family: monospace;"></span>Hi,<br>I need to use the gst_clock_get_time function(GstClock* clock) but....How to create the GstClock to query?Is there any example?<br>From the manual it seems that I first need to obtain a GstClockID with the gst_clock_new_single_shot_id but...it wants a GstClock element and however also a GstClockTime in which fire the notification.
<br><br>I need it because I&#39;m writing a src element and I must set the timestamp as gst_clock_get_time() at time of capture minus the base time (time at the start of the capture), to obtain both&nbsp; of these variables I need a valid GstClock.
<br><br>Anyone could give me some info or example?<br><br>Thank&#39;s.<br><span style="font-style: italic;"></span><br>-- <br>Riccardo Corona