move logging statement before setting the window id.
copy the buffer data before unmapping it.
Remove int64 cast of CLOCK_TIME_NONE
* CLOCK_TIME_NONE is no longer of type int, instead it is a Gst.ClockTime.
* Therefore, if it is not cast to int64 it will break the build for the seek, which expects int64.
* Set the value to -1 instead of casting CLOCK_TIME_NONE.
Fixed: enable qos and step support for gstreamer 1.x.
Accept gstreamer versions higher or equal than 1.0.0 for the new api.