<div dir="ltr"><div>I am pushing buffers got from network using appsrc. There are two pipelines audio and video.  I have set the timestamp to these buffers using GST_BUFFER_TIMESTAMP.<br><br><br></div><div>Now when I scroll the stream in forward or reverse direction, both the pipelines pause. After pushing play, the data start coming with the new timestamp.  <br>
<br></div><div>So I just flush (using send event ) the pipelines before the PLAYING state and use the API <b>gst_element_set_start_time</b>(pipeline, newPTS). This seems to be working fine. Status bar is updated fine as I am sending the correct position to the application.<br>
<br></div><div>But when I go in reverse direction and set the same (start_time) API, the data does not play. It hangs. Instead only the status bar is updated. The data plays after some time from the position where I started scrolling. <br>
<br></div><div>This may be due to a GstClock element was running in the monotonoically increasing direction and hence could not play into backward direction from the start time. <br><br></div><div>Could you help that how can I debug ?<br>
</div><div><br></div><div>Is there a way to reset a clock of the pipeline or to set time in it.  I tried using use_clock () and set_base_time () APIs too.<br><br></div><div>What is the difference between set_base_time() and set_start_time() API. I read somewhere that start_time() API first calls base_time() API. ? Is it true?<br>
<br></div><div>One more issue is why is it working in forward direction but not reverse direction ?<br></div><div><br><br></div><div>BR-<br></div><div><br></div></div>