Hi All,<br><br>For my player application am required to frequently update the playback<br>segment values. Currently am seeking the first segment as below:<br><br>gst_element_seek <br>(<br>                             pipeline, <br>
                             1.0, <br>                             GST_FORMAT_TIME, <br>                             GST_SEEK_FLAG_SEGMENT, SEEK_TYPE_SET, <br>                             (0 * GST_SECOND), <br>                            GST_SEEK_TYPE_NONE, <br>
                            -1<br>);<br><br>After sometime I get GST_MESSAGE_SEGMENT_DONE. Now I want to update the my NEW_SEGMENT from the last <br>played value to the total duration. <br><br>Can someone tell me how can I define the NEW_SEGMENT values.<br>
And what changes to be done with pipeline state, before or after doing the seek for <br>NEW_SEGMENT?<br><br>Thanks,<br>Jyoti<br>