mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
Fix gst_vaapi_image_new_with_image().
This commit is contained in:
parent
6e9a816c48
commit
857a024c62
1 changed files with 6 additions and 3 deletions
|
@ -279,13 +279,16 @@ gst_vaapi_image_set_property(
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case PROP_FORMAT:
|
case PROP_FORMAT:
|
||||||
priv->format = g_value_get_uint(value);
|
if (priv->create_image)
|
||||||
|
priv->format = g_value_get_uint(value);
|
||||||
break;
|
break;
|
||||||
case PROP_WIDTH:
|
case PROP_WIDTH:
|
||||||
priv->width = g_value_get_uint(value);
|
if (priv->create_image)
|
||||||
|
priv->width = g_value_get_uint(value);
|
||||||
break;
|
break;
|
||||||
case PROP_HEIGHT:
|
case PROP_HEIGHT:
|
||||||
priv->height = g_value_get_uint(value);
|
if (priv->create_image)
|
||||||
|
priv->height = g_value_get_uint(value);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
|
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
|
||||||
|
|
Loading…
Reference in a new issue