gBroutin / gstreamer-java

Automatically exported from code.google.com/p/gstreamer-java
0 stars 0 forks source link

StopEvent message when movie are finished #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. When plaing process are finished no events are sent to host application 
to notify about it

What is the expected output? What do you see instead?

Add support of EndOfMediaEvent or StopEvent or something like this

What version of the product are you using? On what operating system?

Latest one from svn(22/10/2007), OS Linux

Please provide any additional information below.

Original issue reported on code.google.com by s.gu...@gmail.com on 22 Oct 2007 at 8:02

GoogleCodeExporter commented 8 years ago
I've added GstVideoPlayer.addMediaListener(), MediaListener and MediaEvent. 
Currently, the only event implemented is MediaListener.endOfMedia(), but should
suffice for now.

I've also updated example.SwingPlayer to take a list of files to play on the 
command
line, and it rotates through these using the endOfMedia() event to detect when 
each
file has finished playing.

Original comment by wmeiss...@gmail.com on 26 Nov 2007 at 1:10

GoogleCodeExporter commented 8 years ago
Marking as fixed.

Original comment by wmeiss...@gmail.com on 26 Nov 2007 at 1:12