display: raise "notify" for property changes.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 28 Aug 2012 09:09:56 +0000 (11:09 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 28 Aug 2012 14:31:56 +0000 (16:31 +0200)
gst-libs/gst/vaapi/gstvaapidisplay.c

index 7abda6d..d2fa187 100644 (file)
@@ -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;
 }