summaryrefslogtreecommitdiff
path: root/gst-libs/gst/vaapi/gstvaapidisplay.c
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-08-28 11:09:56 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-08-28 16:31:56 +0200
commit112e2b1fe7ed90dd4b7cf24e20c345ccfb97698e (patch)
tree1a20d57a5c7138d0d154a3bc61ce6f8e665c21ae /gst-libs/gst/vaapi/gstvaapidisplay.c
parent9c714cf7a0fdec91d79090a7e7b83073228a43c1 (diff)
display: raise "notify" for property changes.
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapidisplay.c')
-rw-r--r--gst-libs/gst/vaapi/gstvaapidisplay.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidisplay.c b/gst-libs/gst/vaapi/gstvaapidisplay.c
index 7abda6d1..d2fa1872 100644
--- a/gst-libs/gst/vaapi/gstvaapidisplay.c
+++ b/gst-libs/gst/vaapi/gstvaapidisplay.c
@@ -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;
}