tests: enhance the gstcaps test_features to also test gst_caps_set_features()
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Thu, 26 Jun 2014 08:58:04 +0000 (11:58 +0300)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Thu, 26 Jun 2014 08:58:04 +0000 (11:58 +0300)
commit4376ba4e3c46afda53e2b87fb8e28f1aef448944
tree8ad4091e42949d0dbd537ec53e8feb735b2b60f5
parent780c83d5c4dd5b2676e23f185e739567c4e817a8
tests: enhance the gstcaps test_features to also test gst_caps_set_features()

Compliments my previous patch for gst_caps_set_features, which would
previously assert and leak the old GstCapsFeatures if the caps already
had a GstCapsFeatures and you were trying to replace it with a new one.
tests/check/gst/gstcaps.c