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
/
audioplot.py
diff --git
a/subprojects/gst-python/examples/plugins/python/audioplot.py
b/subprojects/gst-python/examples/plugins/python/audioplot.py
index
cf1032f
..
8747fee
100644
(file)
--- a/
subprojects/gst-python/examples/plugins/python/audioplot.py
+++ b/
subprojects/gst-python/examples/plugins/python/audioplot.py
@@
-29,7
+29,7
@@
except ImportError:
raise
-Gst.init
(None
)
+Gst.init
_python(
)
AUDIO_FORMATS = [f.strip() for f in
GstAudio.AUDIO_FORMATS_ALL.strip('{ }').split(',')]