MCPcopy Create free account
hub / github.com/GStreamer/gst-python / get_state

Method get_state

old_examples/play.py:105–106  ·  view source on GitHub ↗
(self, timeout=1)

Source from the content-addressed store, hash-verified

103 gst.info("stopped player")
104
105 def get_state(self, timeout=1):
106 return self.player.get_state(timeout=timeout)
107
108 def is_playing(self):
109 return self.playing

Callers 12

on_button_clickedMethod · 0.45
buffer-draw.pyFile · 0.45
record_sound.pyFile · 0.45
testLoadMethod · 0.45
testStateChangeMethod · 0.45
testFakeMethod · 0.45
testBinStateMethod · 0.45
_src_buffer_probe_cbMethod · 0.45
testRunMethod · 0.45
testRunMethod · 0.45
testPlayingMethod · 0.45

Calls

no outgoing calls

Tested by 8

testLoadMethod · 0.36
testStateChangeMethod · 0.36
testFakeMethod · 0.36
testBinStateMethod · 0.36
_src_buffer_probe_cbMethod · 0.36
testRunMethod · 0.36
testRunMethod · 0.36
testPlayingMethod · 0.36