error when i try to use "on-about-to-finish" signal. python
max.s
max.skarberg at gmail.com
Mon Feb 27 09:34:04 PST 2012
Im not on the computer that I write the code at right now, but ill try to
describe it without copy paste.. I dont want any delays between the movies I
play in my python-script. I found something that sound exactly like what I
was looking for. when I initialize the player: self.player =
gst.element_faktory_make("playbin2", "player")....
I also : self.player.connect("about-to-finish", self.on_about_to_finish)
but it doesnt work :(. the function is being called, but i have a
if: bool == 0......:
self.player.set_property("uri", "file:///myFile")
elif:
self.player.set_property("uri", "file:///OtherFile")
and when the EOS message apears i have tried to set the player to NULL and
also READY.
but it does not work at all..
I would be very happy if somebody got any advice for me!
/max
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/error-when-i-try-to-use-on-about-to-finish-signal-python-tp4425357p4425357.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list