Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GStreamer/gst-python
/ play
Method
play
old_examples/switch.py:59–62 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
57
self.playing = False
58
59
def
play(self):
60
self.playing = True
61
gst.info(
"playing player"
)
62
self.pipeline.set_state(gst.STATE_PLAYING)
63
64
def
stop(self):
65
self.pipeline.set_state(gst.STATE_NULL)
Callers
1
play
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected