Set the capabilities on the appsink element.
This function takes a copy of the caps structure. After calling this method, the sink will only accept caps that match caps
. If caps
is non-fixed, or incomplete, you must check the caps on the samples to get the actual used caps.
this |
a Sink |
caps |
caps to set |