mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +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;
|
||||
}
|
||||
case PROP_FORMAT:
|
||||
priv->format = g_value_get_uint(value);
|
||||
if (priv->create_image)
|
||||
priv->format = g_value_get_uint(value);
|
||||
break;
|
||||
case PROP_WIDTH:
|
||||
priv->width = g_value_get_uint(value);
|
||||
if (priv->create_image)
|
||||
priv->width = g_value_get_uint(value);
|
||||
break;
|
||||
case PROP_HEIGHT:
|
||||
priv->height = g_value_get_uint(value);
|
||||
if (priv->create_image)
|
||||
priv->height = g_value_get_uint(value);
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
|
||||
|
|
Loading…
Reference in a new issue