summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/videofilter/gstvideobalance.c3
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;
}