gstreamer use mem.get_memory(0) to get correct address