jpeg2000parse: fix negotiation with j2c and jpc both allowed upstream
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Tue, 9 May 2017 09:32:05 +0000 (10:32 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 15 May 2017 16:38:08 +0000 (19:38 +0300)
commite33ac574d7d2dfdeba70f867b956da4af1e35182
treeb81f120e124f42ef2fbf10dd63ea21d69741b679
parent56ca47914dd6bf295681ee5787189446da909e75
jpeg2000parse: fix negotiation with j2c and jpc both allowed upstream

If upstream supports both, but downstream supports only jpc, j2c
would have been selected as the first in the caps.

https://bugzilla.gnome.org/show_bug.cgi?id=782221
gst/videoparsers/gstjpeg2000parse.c