step event and eos

Marco Trapanese marcotrapanese at gmail.com
Sun Jul 14 23:05:52 PDT 2013


Il 14/07/2013 13:59, Marco Trapanese ha scritto:
> During a step event the pipeline is paused and the eos message is not 
> issued on the bus. How to know I cannot step anymore because I'm at 
> the end of the stream?

I found a (ugly) solution to compare the current position (in bytes) 
with the length of the file before send a step event.

It's not a good solution but it works. Please, let me know if there is 
something better to do.
Thanks



More information about the gstreamer-devel mailing list