Commit e95da841 authored by Wim Taymans's avatar Wim Taymans

videobalance: fix unhandled format in passthrough

In passthrough we can handle all formats.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=740387
parent bf73d834
......@@ -454,7 +454,8 @@ gst_video_balance_set_info (GstVideoFilter * vfilter, GstCaps * incaps,
videobalance->process = gst_video_balance_packed_rgb;
break;
default:
goto unknown_format;
if (!gst_video_balance_is_passthrough (videobalance))
goto unknown_format;
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment