jpeg2000parse: Require either colorspace or sampling field in sink caps
authorAaron Boxer <boxerab@gmail.com>
Wed, 8 Jun 2016 15:32:28 +0000 (11:32 -0400)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 10 Jun 2016 13:25:50 +0000 (16:25 +0300)
commit3dc3a915eabd1bb969fc7029b959c57323eb9027
tree00df4d3c29640d8ffd3f1acb2e078d925f058f6e
parent3107f5df76b09b229d1aa97333fe57be7e4af223
jpeg2000parse: Require either colorspace or sampling field in sink caps

And always set the sampling field on the src caps, if necessary guessing a
correct value for it from the colorspace field.

Also, did some cleanup: removed sampling enum - redundant.

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