jpeg2000parse: Use correct enum type

GST_JPEG2000_SAMPLING_RGB instead of GST_JPEG2000_COLORSPACE_RGB

https://bugzilla.gnome.org/show_bug.cgi?id=768696
This commit is contained in:
Sebastian Dröge 2016-07-12 00:02:53 +03:00
parent ca54ad082e
commit 064f46e9e1

View file

@ -443,7 +443,7 @@ gst_jpeg2000_parse_handle_frame (GstBaseParse * parse,
} else {
parsed_sampling =
(numcomps ==
4) ? GST_JPEG2000_SAMPLING_RGBA : GST_JPEG2000_COLORSPACE_RGB;
4) ? GST_JPEG2000_SAMPLING_RGBA : GST_JPEG2000_SAMPLING_RGB;
}
} else {
if (gst_jpeg2000_sampling_is_mono (sink_sampling)) {