videoaggregator: repect the result of find_best_format in the default update_caps
authorMatthew Waters <matthew@centricular.com>
Mon, 4 Apr 2016 10:55:51 +0000 (20:55 +1000)
committerMatthew Waters <matthew@centricular.com>
Thu, 7 Apr 2016 10:30:25 +0000 (20:30 +1000)
commitaa2b23fe395dcff3343a17ecf976f01298aa6896
tree3cc449319a793ed10b6fcc1ae2e7764040cad2ae
parent81960ea8539f64fa15a085b23f3f15805be8ec92
videoaggregator: repect the result of find_best_format in the default update_caps

We weren't using the result of find_best_format at all.

Also, move the find_best_format usage to the default update_caps() to make
sure that it is also overridable.

https://bugzilla.gnome.org/show_bug.cgi?id=764363
ext/gl/gstglvideomixer.c
gst-libs/gst/video/gstvideoaggregator.c