diff options
author | Wim Taymans <wtaymans@redhat.com> | 2014-11-20 09:01:38 +0100 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2014-11-20 09:02:36 +0100 |
commit | e95da8410f315b52c049137a528a957b20776631 (patch) | |
tree | ddba948f27137cc84e570acd9b9d6dccd7685f4b | |
parent | bf73d834b2c1fed9894fa587b149d4162873b126 (diff) |
videobalance: fix unhandled format in passthrough
In passthrough we can handle all formats.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=740387
-rw-r--r-- | gst/videofilter/gstvideobalance.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/videofilter/gstvideobalance.c b/gst/videofilter/gstvideobalance.c index 950c4843f..49cad5177 100644 --- a/gst/videofilter/gstvideobalance.c +++ b/gst/videofilter/gstvideobalance.c @@ -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; } |