Thibault Saunier
986d6d12fb
example: Use do_fill in AudioTestSrc instead of do_create
...
With the new mapping API we can efficiently use the ->fill vmethod
which is sensibly better.
2019-12-11 08:32:44 -03:00
Thibault Saunier
d365954fc0
Subclass Exception for mapping and unmapping errors
...
And minor cleanup in the way errors are handled
2019-12-10 12:05:19 -03:00
Daniel Klamt
fecfe451a7
Changes the mapinfo so that the mapped data is writable
...
The Problem is, that in the current state it is not easily possible to
edit the buffer data in a gstreamer python element since you get a copy
of the real buffer.
This patch overrides the mapinfo and the function generating it in a way
so that mapinfo.data is now a memoryview pointing to the real buffer.
Depending on the flags given for this buffer the memoryview is r/w.
2019-12-09 09:23:55 +01:00
Mathieu Duponchelle
4ce52c0211
Examples: add audiotestsrc plugin example
2018-07-29 20:06:09 +02:00
Mathieu Duponchelle
71bb950965
Examples: add audioplot plugin example
2018-07-29 20:05:52 +02:00
Mathieu Duponchelle
6cf081fa11
Examples: add mixer plugin example
2018-07-29 19:51:34 +02:00
Marianna Smidth Buschle
a9cc3ed6f2
examples: Added identity example
...
Created a simple BaseTransform element (identity)
https://bugzilla.gnome.org/show_bug.cgi?id=772853
2016-10-17 10:03:13 +02:00
Thibault Saunier
7dffdb6864
examples: Port the sink example to GstBaseSink
...
Also we now need to explicitly call Gst.init() from python bindings.
2015-10-28 15:27:42 +01:00
Thibault Saunier
96b031a948
Move old example to a dedicated folder so user know it is no up to date
2014-06-06 10:35:46 +02:00