glmixer: ensure caps are writable after intersection
authorMatthew Waters <matthew@centricular.com>
Wed, 18 Jan 2017 04:03:48 +0000 (15:03 +1100)
committerMatthew Waters <matthew@centricular.com>
Wed, 18 Jan 2017 04:07:48 +0000 (15:07 +1100)
commitc6bf4b36e6fad65f3ce48b92f0e8910be42c4977
tree9609cf0167281897a4743d0acfd130aec1060361
parent7fcbfe1234803832585d693c017d298c4e182c66
glmixer: ensure caps are writable after intersection

gst_caps_intersect () may return an increased reference of one of the
input caps.

Fixes critical in the simple-launch-lines test:

Unexpected critical/warning: gst_caps_set_features: assertion 'IS_WRITABLE (caps)' failed
ext/gl/gstglmixer.c