projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
python: Add a Gst.init_python function to be called from plugins
[platform/upstream/gstreamer.git]
/
subprojects
/
gst-python
/
examples
/
plugins
/
python
/
exampleTransform.py
diff --git
a/subprojects/gst-python/examples/plugins/python/exampleTransform.py
b/subprojects/gst-python/examples/plugins/python/exampleTransform.py
index
ed73904
..
d244acb
100755
(executable)
--- a/
subprojects/gst-python/examples/plugins/python/exampleTransform.py
+++ b/
subprojects/gst-python/examples/plugins/python/exampleTransform.py
@@
-15,7
+15,7
@@
from gi.repository import Gst, GObject, GstBase, GstVideo
import numpy as np
-Gst.init
(None
)
+Gst.init
_python(
)
FIXED_CAPS = Gst.Caps.from_string('video/x-raw,format=GRAY8,width=[1,2147483647],height=[1,2147483647]')
class ExampleTransform(GstBase.BaseTransform):