<div dir="ltr"><div>Need to set a clock in gstreamer pipeline that are comaprable to PTS values. <br><br><u>Issue</u><br>Whenever I query my pipeline using below query position API, I get the gstreamer default values. <br>
<br><br> gint64 pos;<br> GstFormat fmt = GST_FORMAT_TIME;<br> gst_element_query_position ((GstElement*) myPipeline, &fmt, &pos);<br><br><br>However I set the buffers the pipeline is going to play using buffer stamp API below. <br>
<br></div><div>This is according to <br></div><div><pre> GST_BUFFER_TIMESTAMP(myBuffer) = (ptsValue);<br><br><br></pre><pre>Is there a type of GstClock that will make sure the element query position returns values of the PTS last played not the default values?<br>
<br></pre><br></div><div><br></div></div>