mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
openjpegenc: use the corrent enumeration
Fixes the following error when building in osx. error: implicit conversion from enumeration type 'GstJPEG2000Colorspace' to different enumeration type 'GstJPEG2000Sampling'
This commit is contained in:
parent
3db0fa37b7
commit
ee5aa3d8b5
1 changed files with 1 additions and 1 deletions
|
@ -647,7 +647,7 @@ gst_openjpeg_enc_set_format (GstVideoEncoder * encoder,
|
|||
sampling = GST_JPEG2000_SAMPLING_YBRA4444_EXT;
|
||||
break;
|
||||
case GST_VIDEO_FORMAT_xRGB:
|
||||
sampling = GST_JPEG2000_COLORSPACE_RGB;
|
||||
sampling = GST_JPEG2000_SAMPLING_RGB;
|
||||
break;
|
||||
case GST_VIDEO_FORMAT_Y444_10LE:
|
||||
case GST_VIDEO_FORMAT_Y444_10BE:
|
||||
|
|
Loading…
Reference in a new issue