use extract_frame from pad.ma
This commit is contained in:
parent
5f9a4ab588
commit
9a8a5de64f
1 changed files with 2 additions and 3 deletions
|
@ -77,9 +77,8 @@ class ExtractFrame:
|
||||||
self.pipeline.set_state(gst.STATE_PLAYING)
|
self.pipeline.set_state(gst.STATE_PLAYING)
|
||||||
self.pipeline.get_state()
|
self.pipeline.get_state()
|
||||||
|
|
||||||
|
self.mainloop.run()
|
||||||
self.mainloop.run()
|
return self.info
|
||||||
return self.info
|
|
||||||
|
|
||||||
def seek(self, seek_pos):
|
def seek(self, seek_pos):
|
||||||
event = gst.event_new_seek(1.0, gst.FORMAT_TIME,
|
event = gst.event_new_seek(1.0, gst.FORMAT_TIME,
|
||||||
|
|
Loading…
Reference in a new issue