videoaggregator: improve find_best_format heuristic.
authorMathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Wed, 9 Aug 2017 23:45:53 +0000 (01:45 +0200)
committerMathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Thu, 10 Aug 2017 11:55:59 +0000 (13:55 +0200)
commit7305f50512faa25fdb2ed198ff2249edb4d22505
treecbf716d93df26f66f5df0c2aa519b061c63df8a2
parent663ef174d8190527bf94dab969198819b8bd80c7
videoaggregator: improve find_best_format heuristic.

The goal here is to minimize the work needed to bring all images
to a common format. A better criteria than the number of pads
with a given format is the number of pixels with a given format.

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