encodebin: Fallback to other profile if we fail with one
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Sat, 17 Dec 2016 01:11:41 +0000 (22:11 -0300)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Mon, 19 Dec 2016 13:13:23 +0000 (10:13 -0300)
commitc8ea302e5713b420d6029c8c222918f369e65b02
tree87dc652261ed699d01568e217bb82dc13b9a3686
parent2d1b5a1dc2fe2163a8c34ce579ccce4a1512dcdd
encodebin: Fallback to other profile if we fail with one

In some case we might have EncodingProfile that will be defined
in a way that, for example if a Preset is not present, another
profile for that stream should be used.

A test is added showing the feature.

https://bugzilla.gnome.org/show_bug.cgi?id=776188
gst/encoding/gstencodebin.c
tests/check/elements/encodebin.c