示例#1
0
 /**
  * Merge two {@link Caps} together.
  *
  * <p>Appends the structures contained in caps2 to caps1 if they are not yet expressed by caps1 .
  * The structures in caps2 are not copied -- they are transferred to a writable copy of caps1 ,
  * and then caps2 is freed. If either caps is ANY, the resulting caps will be ANY.
  *
  * @param caps1 the {@link Caps} that will take the new entries.
  * @param caps2 the {@link Caps} to merge in
  * @return merged Caps
  */
 public static Caps merge(Caps caps1, Caps caps2) {
   return GSTCAPS_API.gst_caps_merge(caps1, caps2);
 }