Get the caps associated with @sample
the caps of @sample or %NULL when there is no caps. The caps remain valid as long as @sample is valid. If you need to hold on to the caps for longer than that, take a ref to the caps with gst_caps_ref().
See Implementation
Get the caps associated with @sample