projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02ca5d3
)
overrides: implement Gst.Structure.__getitem__
author
Alessandro Decina
<alessandro.d@gmail.com>
Thu, 22 Nov 2012 06:11:45 +0000
(07:11 +0100)
committer
Alessandro Decina
<alessandro.d@gmail.com>
Thu, 22 Nov 2012 06:11:45 +0000
(07:11 +0100)
gi/overrides/Gst.py
patch
|
blob
|
history
diff --git
a/gi/overrides/Gst.py
b/gi/overrides/Gst.py
index
4fb7f38
..
a824f6f
100644
(file)
--- a/
gi/overrides/Gst.py
+++ b/
gi/overrides/Gst.py
@@
-172,6
+172,12
@@
class Pipeline(Gst.Pipeline):
Pipeline = override(Pipeline)
__all__.append('Pipeline')
+class Structure(Gst.Structure):
+ def __getitem__(self, key):
+ return self.get_value(key)
+Structure = override(Structure)
+__all__.append('Structure')
+
ElementFactory = override(ElementFactory)
__all__.append('ElementFactory')