projects
/
platform
/
upstream
/
gst-plugins-good.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
videobalance: fix unhandled format in passthrough
[platform/upstream/gst-plugins-good.git]
/
gst
/
videofilter
/
gstvideobalance.c
diff --git
a/gst/videofilter/gstvideobalance.c
b/gst/videofilter/gstvideobalance.c
index
950c484
..
49cad51
100644
(file)
--- 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;
}