videoutils: return empty if the element has no possible allowed caps
authorThiago Santos <thiagoss@osg.samsung.com>
Tue, 9 Dec 2014 19:05:27 +0000 (16:05 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Wed, 17 Dec 2014 22:15:23 +0000 (19:15 -0300)
commitf49208555226d3f65816ed143440a1777551620f
tree8666e84d17ea79acf8ca6a57fa8f7d41acec8f5f
parentf24075887f9d876af59f27a389f2e8c7d6c957ca
videoutils: return empty if the element has no possible allowed caps

Instead of returning the template caps and having a failure happen
later because there are no possible caps

https://bugzilla.gnome.org/show_bug.cgi?id=741263
gst-libs/gst/video/gstvideoutilsprivate.c