use extract_frame from pad.ma

This commit is contained in:
j 2008-07-03 18:41:33 +02:00
parent 5f9a4ab588
commit 9a8a5de64f

View file

@ -77,9 +77,8 @@ class ExtractFrame:
self.pipeline.set_state(gst.STATE_PLAYING)
self.pipeline.get_state()
self.mainloop.run()
return self.info
self.mainloop.run()
return self.info
def seek(self, seek_pos):
event = gst.event_new_seek(1.0, gst.FORMAT_TIME,