How to detect end and start of file
Bruno Gonzalez (aka stenyak)
stenyak at gmail.com
Wed Jul 10 00:20:02 PDT 2013
I'm reading mkv files with matroskademux.
I would like to know when either the *end* (playing forwards) or
*start* (playing backwards) of the mkv file have been reached.
Currently I'm catching EOS events, but those can happen for more
reasons than just "end of file". For example, the user wants to close
the pipeline, so an EOS is sent even though we haven't reached the end
or start of file.
Any suggestions on how to detect Eof/Sof reliably?
http://www.stenyak.com | stenyak @ irc://irc.freenode.net
More information about the gstreamer-devel