videobalance: fix unhandled format in passthrough

In passthrough we can handle all formats.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=740387
This commit is contained in:
Wim Taymans 2014-11-20 09:01:38 +01:00
parent bf73d834b2
commit e95da8410f

View file

@ -454,7 +454,8 @@ gst_video_balance_set_info (GstVideoFilter * vfilter, GstCaps * incaps,
videobalance->process = gst_video_balance_packed_rgb; videobalance->process = gst_video_balance_packed_rgb;
break; break;
default: default:
goto unknown_format; if (!gst_video_balance_is_passthrough (videobalance))
goto unknown_format;
break; break;
} }