Move _GstVaapiWindowPrivate declaration to gstvaapiwindow_priv.h.

This commit is contained in:
gb 2010-03-22 13:06:41 +00:00
parent 6407e5339a
commit 729f4fc9c6
2 changed files with 13 additions and 13 deletions

View file

@ -32,19 +32,6 @@
G_DEFINE_TYPE(GstVaapiWindow, gst_vaapi_window, G_TYPE_OBJECT);
#define GST_VAAPI_WINDOW_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
GST_VAAPI_TYPE_WINDOW, \
GstVaapiWindowPrivate))
struct _GstVaapiWindowPrivate {
GstVaapiDisplay *display;
guint width;
guint height;
gboolean is_constructed : 1;
guint is_fullscreen : 1;
};
enum {
PROP_0,

View file

@ -25,6 +25,19 @@
G_BEGIN_DECLS
#define GST_VAAPI_WINDOW_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
GST_VAAPI_TYPE_WINDOW, \
GstVaapiWindowPrivate))
struct _GstVaapiWindowPrivate {
GstVaapiDisplay *display;
guint width;
guint height;
gboolean is_constructed : 1;
guint is_fullscreen : 1;
};
void
_gst_vaapi_window_set_fullscreen(GstVaapiWindow *window, gboolean fullscreen)
attribute_hidden;