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,12 +279,15 @@ gst_vaapi_image_set_property(
|
|||
break;
|
||||
}
|
||||
case PROP_FORMAT:
|
||||
if (priv->create_image)
|
||||
priv->format = g_value_get_uint(value);
|
||||
break;
|
||||
case PROP_WIDTH:
|
||||
if (priv->create_image)
|
||||
priv->width = g_value_get_uint(value);
|
||||
break;
|
||||
case PROP_HEIGHT:
|
||||
if (priv->create_image)
|
||||
priv->height = g_value_get_uint(value);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue