mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
display: raise "notify" for property changes.
This commit is contained in:
parent
9c714cf7a0
commit
112e2b1fe7
1 changed files with 4 additions and 0 deletions
|
@ -1471,6 +1471,8 @@ gst_vaapi_display_set_render_mode(
|
|||
return FALSE;
|
||||
if (!set_attribute(display, VADisplayAttribRenderMode, modes))
|
||||
return FALSE;
|
||||
|
||||
g_object_notify_by_pspec(G_OBJECT(display), g_properties[PROP_RENDER_MODE]);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
@ -1522,5 +1524,7 @@ gst_vaapi_display_set_rotation(
|
|||
value = from_GstVaapiRotation(rotation);
|
||||
if (!set_attribute(display, VADisplayAttribRotation, value))
|
||||
return FALSE;
|
||||
|
||||
g_object_notify_by_pspec(G_OBJECT(display), g_properties[PROP_ROTATION]);
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue