mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
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:
parent
bf73d834b2
commit
e95da8410f
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue