mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
openjpegenc: do not set bpp field on opj_image_cmptparm_t
It's deprecated in favor of the .prec field which we already set. https://github.com/uclouvain/openjpeg/pull/1383/ Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4715>
This commit is contained in:
parent
5c04d24553
commit
6032f51162
1 changed files with 2 additions and 0 deletions
|
@ -939,7 +939,9 @@ gst_openjpeg_enc_fill_image (GstOpenJPEGEnc * self, GstVideoFrame * frame,
|
|||
|
||||
for (i = 0; i < ncomps; i++) {
|
||||
comps[i].prec = GST_VIDEO_FRAME_COMP_DEPTH (frame, i);
|
||||
#if (OPJ_VERSION_MAJOR == 2 && OPJ_VERSION_MINOR < 5)
|
||||
comps[i].bpp = GST_VIDEO_FRAME_COMP_DEPTH (frame, i);
|
||||
#endif
|
||||
comps[i].sgnd = 0;
|
||||
comps[i].w = GST_VIDEO_FRAME_COMP_WIDTH (frame, i);
|
||||
comps[i].dx =
|
||||
|
|
Loading…
Reference in a new issue