diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-07-12 00:02:53 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-07-12 00:02:53 +0300 |
commit | 064f46e9e16a11aef47ab5e0e75f1573a3458417 (patch) | |
tree | 8503b32582e210985257dac92c2d0e36d5ca50a5 /gst/videoparsers | |
parent | ca54ad082eab79650382c59ac421aacd56cc4dd0 (diff) | |
download | gstreamer-plugins-bad-064f46e9e16a11aef47ab5e0e75f1573a3458417.tar.gz |
jpeg2000parse: Use correct enum type
GST_JPEG2000_SAMPLING_RGB instead of GST_JPEG2000_COLORSPACE_RGB
https://bugzilla.gnome.org/show_bug.cgi?id=768696
Diffstat (limited to 'gst/videoparsers')
-rw-r--r-- | gst/videoparsers/gstjpeg2000parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/videoparsers/gstjpeg2000parse.c b/gst/videoparsers/gstjpeg2000parse.c index 93887719a..13fee2c30 100644 --- a/gst/videoparsers/gstjpeg2000parse.c +++ b/gst/videoparsers/gstjpeg2000parse.c @@ -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)) { |