Changed info/caps usage, and removed GstVideoInfo from read_gstbuffer function.