Hi All,<br><br>I have written a player application to play data from a tmp file.<br>The http stream is been continuously downloaded into this tmp file.<br><br>Sometimes when the download rate is too slow. The player gives out the<br>
EOS signal on the bus on reaching EOF of tmp file and the playback stops.<br><br>On such a condition I want avoid signalling EOS and start the playback again from the place I stopped.<br>To stop EOS signalling I seek the file before playback with GST_SEEK_SEGMENT_DONE flag.<br>
This will signal GST_MESSAGE_SEGMENT_DONE instead of EOS. <br><br>Now on receiving  GST_MESSAGE_SEGMENT_DONE message on bus I want to resume playback.<br>To do this am querying the position of the last left data and seeking it once enough data is available<br>
for playback. But this is not happening.<br><br>Can someone hint me what to do in such cases?<br><br>Thanks,<br>Jyoti<br><br>