Commit 412e97be authored by Committed by Jan Schmidt
caps: keep ANY caps empty internally
Keep the ANY caps empty internally when appending and merging caps/structures. Previously, an ANY caps could end up containing internal structures, which could be fetched by the user, and gave the caps a non-zero length. Also, made sure that `gst_caps_set_features_simple` frees the features if caps is empty.
Showing with 147 additions and 9 deletions