videoelevels: fix so auto adjust works with 8-bit images
This commit is contained in:
parent
f6108600d2
commit
7f3c5814b0
@ -1020,6 +1020,7 @@ gst_videolevels_check_passthrough (GstVideoLevels * levels)
|
|||||||
{
|
{
|
||||||
gboolean passthrough;
|
gboolean passthrough;
|
||||||
if (levels->bpp_in == 8 &&
|
if (levels->bpp_in == 8 &&
|
||||||
|
levels->auto_adjust == GST_VIDEOLEVELS_AUTO_OFF &&
|
||||||
levels->lower_input == levels->lower_output &&
|
levels->lower_input == levels->lower_output &&
|
||||||
levels->upper_input == levels->upper_output) {
|
levels->upper_input == levels->upper_output) {
|
||||||
passthrough = TRUE;
|
passthrough = TRUE;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user