From 9c714cf7a0fdec91d79090a7e7b83073228a43c1 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Tue, 28 Aug 2012 10:55:59 +0200 Subject: display: expose display attributes as GObject properties. Expose VA display "render-mode" and "rotation" attributes as standard GObject properties. --- gst-libs/gst/vaapi/gstvaapidisplay.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gst-libs/gst/vaapi/gstvaapidisplay.h') diff --git a/gst-libs/gst/vaapi/gstvaapidisplay.h b/gst-libs/gst/vaapi/gstvaapidisplay.h index 6dac4c5f..a855aee5 100644 --- a/gst-libs/gst/vaapi/gstvaapidisplay.h +++ b/gst-libs/gst/vaapi/gstvaapidisplay.h @@ -96,6 +96,14 @@ struct _GstVaapiDisplayInfo { gpointer native_display; }; +/** + * GstVaapiDisplayProperties: + * @GST_VAAPI_DISPLAY_PROP_RENDER_MODE: rendering mode (#GstVaapiRenderMode). + * @GST_VAAPI_DISPLAY_PROP_ROTATION: rotation angle (#GstVaapiRotation). + */ +#define GST_VAAPI_DISPLAY_PROP_RENDER_MODE "render-mode" +#define GST_VAAPI_DISPLAY_PROP_ROTATION "rotation" + /** * GstVaapiDisplay: * -- cgit v1.2.1