Hello, my pipeline is very straightforward, a playbin2 for playing avi video files.<br>I need it to do a seek at the start of the &#39;player&#39;.<br>This is the code, according to the message, the seek is done, but not in the place it should be. I want it to start at 15 seconds from its begining.<br>
(I converted 15 seconds to nanoseconds and it didn&#39;t work either)<br><br>     gst_element_set_state (play, GST_STATE_PLAYING);<br><br>    gst_element_set_state (play, GST_STATE_PAUSED);<br>    if (!gst_element_seek (GST_ELEMENT(play), 1.0, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH,<br>
                        GST_SEEK_TYPE_SET, 15*GST_SECOND,<br>                         GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE)) {<br>        g_print (&quot;Seek failed!\n&quot;);}<br>    else<br>        g_print (&quot;Seek OK!\n&quot;);  // it seems it does the seek, but it doesn&#39;t it plays the video from the begining.<br>
<br>What is wrong?, I see these line in many examples.<br>Thanks<br><br>Rossana<br>