mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
v4l2object: stop V4L2 from zeroing extended colorimetry for non-mplane
Setting the priv field to a magic value stops V4L2 core from zeroing the extended colorimetry fields quantization, ycbcr_enc, and xfer_func for non-mplane queues. https://bugzilla.gnome.org/show_bug.cgi?id=796940
This commit is contained in:
parent
af27ecae3f
commit
9595fd08e3
1 changed files with 1 additions and 0 deletions
|
@ -3460,6 +3460,7 @@ gst_v4l2_object_set_format_full (GstV4l2Object * v4l2object, GstCaps * caps,
|
|||
format.fmt.pix_mp.ycbcr_enc = matrix;
|
||||
format.fmt.pix_mp.xfer_func = transfer;
|
||||
} else {
|
||||
format.fmt.pix.priv = V4L2_PIX_FMT_PRIV_MAGIC;
|
||||
format.fmt.pix.colorspace = colorspace;
|
||||
format.fmt.pix.quantization = range;
|
||||
format.fmt.pix.ycbcr_enc = matrix;
|
||||
|
|
Loading…
Reference in a new issue