Next lines of code helps to get buffer width, height from Gst.Caps for further buffer processing. In general, Caps are simple description of media formats and consists of multiple Gst.Structures.