mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
[MOVED FROM BAD 63/68] colorspace: set dithering enum directly
This commit is contained in:
parent
18b568725a
commit
18c312473a
1 changed files with 1 additions and 5 deletions
|
@ -557,11 +557,7 @@ gst_csp_transform (GstBaseTransform * btrans, GstBuffer * inbuf,
|
|||
space->to_format == GST_VIDEO_FORMAT_UNKNOWN))
|
||||
goto unknown_format;
|
||||
|
||||
if (space->dither) {
|
||||
colorspace_convert_set_dither (space->convert, 1);
|
||||
} else {
|
||||
colorspace_convert_set_dither (space->convert, 0);
|
||||
}
|
||||
colorspace_convert_set_dither (space->convert, space->dither);
|
||||
|
||||
colorspace_convert_convert (space->convert, GST_BUFFER_DATA (outbuf),
|
||||
GST_BUFFER_DATA (inbuf));
|
||||
|
|
Loading…
Reference in a new issue