h264parse: put downstream caps first if possible on sink caps
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 20 Nov 2017 16:54:54 +0000 (17:54 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 22 Nov 2017 15:38:04 +0000 (17:38 +0200)
commitd5067b42dedeffab121b9a0359966404b09a7378
tree729b787f1d0a0b9aa91b20e5b60477741b4360b3
parent0933b8b45a5888ad9454be25b3e96a8851e67aea
h264parse: put downstream caps first if possible on sink caps

Try prioritizing downstream's caps over upstream's if possible so the
parser can configured in "passthrough" if possible and save it from
doing useless conversions.

https://bugzilla.gnome.org/show_bug.cgi?id=790628
gst/videoparsers/gsth264parse.c
tests/check/elements/h264parse.c