mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
gl: fix incorrect usage of g_return_if_fail
This commit is contained in:
parent
30c6efc432
commit
12ecf507b8
1 changed files with 1 additions and 1 deletions
|
@ -543,7 +543,7 @@ gst_gl_color_convert_set_texture_scaling (GstGLColorConvert * convert,
|
||||||
{
|
{
|
||||||
guint i;
|
guint i;
|
||||||
|
|
||||||
g_return_val_if_fail (convert != NULL, FALSE);
|
g_return_if_fail (convert != NULL,);
|
||||||
|
|
||||||
for (i = 0; i < GST_VIDEO_MAX_PLANES; i++) {
|
for (i = 0; i < GST_VIDEO_MAX_PLANES; i++) {
|
||||||
convert->priv->convert_info.shader_scaling[i][0] = scaling[i][0];
|
convert->priv->convert_info.shader_scaling[i][0] = scaling[i][0];
|
||||||
|
|
Loading…
Reference in a new issue