Add compatibility for gstreamer 1.x
* GST_BUFFER_DATA does not exist anymore -> needs to be replaced by buffer.map which returns the structure Gst.MapInfo containing the data.
* Tge caps are not associated with the buffer anymore. They belong now to the pad.
* Functions have been renamed.
* Parameters were added or removed.
* Interfaces were renamed.