Detecting start of filesrc when playing backwards

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Detecting start of filesrc when playing backwards

Paddy
Hi,

Is there anything that is the equivalent of an EOS event, for when playback is backwards/reverse & you hit the start of the file. Similarly is there anything to detect when you've reverse stepped beyond the start of a file ??

I'm using 0.10.36 & C code.

Cheers
Reply | Threaded
Open this post in threaded view
|

Re: Detecting start of filesrc when playing backwards

Tim-Philipp Müller-2
On Thu, 2012-10-18 at 15:05 -0700, Paddy wrote:

Hi,

> Is there anything that is the equivalent of an EOS event, for when playback
> is backwards/reverse & you hit the start of the file. Similarly is there
> anything to detect when you've reverse stepped beyond the start of a file ??
>
> I'm using 0.10.36 & C code.

You should also get an EOS message/event then.

Cheers
 -Tim

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Detecting start of filesrc when playing backwards

Paddy
Woot woot.

Cheers Tim. I've been looking to see if that would be the case but I couldn't find any mention of it in the docs. The introduction of the stream start event in 1.0 had me thinking it was possibly that, but it's description is incomplete.