Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GStreamer/gst-python
/ set_location
Method
set_location
old_examples/synchronizer.py:56–58 ·
view source on GitHub ↗
(self, location)
Source
from the content-addressed store, hash-verified
54
self.playing = False
55
56
def
set_location(self, location):
57
self.player.set_state(gst.STATE_NULL)
58
self.player.set_property(
'uri'
, location)
59
60
def
get_location(self):
61
return
self.player.get_property(
'uri'
)
Callers
1
load_file
Method · 0.45
Calls
1
set_property
Method · 0.80
Tested by
no test coverage detected