Hi All,
I have written a player application to play data from a tmp file.
The http stream is been continuously downloaded into this tmp file.
Sometimes when the download rate is too slow. The player gives out the
EOS signal on the bus on reaching EOF of tmp file and the playback stops.
On such a condition I want avoid signalling EOS and start the playback again from the place I stopped.
To stop EOS signalling I seek the file before playback with GST_SEEK_SEGMENT_DONE flag.
This will signal GST_MESSAGE_SEGMENT_DONE instead of EOS.
Now on receiving GST_MESSAGE_SEGMENT_DONE message on bus I want to resume playback.
To do this am querying the position of the last left data and seeking it once enough data is available
for playback. But this is not happening.
Can someone hint me what to do in such cases?
Thanks,
Jyoti
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev _______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel