mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +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;
|
return FALSE;
|
||||||
if (!set_attribute(display, VADisplayAttribRenderMode, modes))
|
if (!set_attribute(display, VADisplayAttribRenderMode, modes))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
g_object_notify_by_pspec(G_OBJECT(display), g_properties[PROP_RENDER_MODE]);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1522,5 +1524,7 @@ gst_vaapi_display_set_rotation(
|
||||||
value = from_GstVaapiRotation(rotation);
|
value = from_GstVaapiRotation(rotation);
|
||||||
if (!set_attribute(display, VADisplayAttribRotation, value))
|
if (!set_attribute(display, VADisplayAttribRotation, value))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
g_object_notify_by_pspec(G_OBJECT(display), g_properties[PROP_ROTATION]);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue