mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
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:
parent
ca54ad082e
commit
064f46e9e1
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue