jpeg2000parse: allow parsing when current caps are null
authorAaron Boxer <boxerab@gmail.com>
Mon, 12 Jun 2017 13:47:49 +0000 (09:47 -0400)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 10 Jul 2017 07:03:43 +0000 (10:03 +0300)
commit2cffa1579a1adeded10a9036876d729bbf6a32d1
tree5758b17b28d376addf61e08d2586adb10efa04fd
parenteebc4c002224f4c4c880d49d15ff1ba3ee968882
jpeg2000parse: allow parsing when current caps are null

In this case, we assume that the format is jpc, and we infer the color
space from the number of components. This allows the parser to process a
jpc disk file coming from a filesrc element.

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