From 112e2b1fe7ed90dd4b7cf24e20c345ccfb97698e Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Tue, 28 Aug 2012 11:09:56 +0200 Subject: display: raise "notify" for property changes. --- gst-libs/gst/vaapi/gstvaapidisplay.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gst-libs/gst/vaapi/gstvaapidisplay.c') 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; } -- cgit v1.2.3