mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-05 05:52:37 +00:00
Move _GstVaapiWindowPrivate declaration to gstvaapiwindow_priv.h.
This commit is contained in:
parent
6407e5339a
commit
729f4fc9c6
2 changed files with 13 additions and 13 deletions
|
@ -32,19 +32,6 @@
|
||||||
|
|
||||||
G_DEFINE_TYPE(GstVaapiWindow, gst_vaapi_window, G_TYPE_OBJECT);
|
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 {
|
enum {
|
||||||
PROP_0,
|
PROP_0,
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,19 @@
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
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
|
void
|
||||||
_gst_vaapi_window_set_fullscreen(GstVaapiWindow *window, gboolean fullscreen)
|
_gst_vaapi_window_set_fullscreen(GstVaapiWindow *window, gboolean fullscreen)
|
||||||
attribute_hidden;
|
attribute_hidden;
|
||||||
|
|
Loading…
Reference in a new issue