summaryrefslogtreecommitdiff
path: root/sys/directdraw/gstdirectdrawsink.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/directdraw/gstdirectdrawsink.h')
-rw-r--r--sys/directdraw/gstdirectdrawsink.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/sys/directdraw/gstdirectdrawsink.h b/sys/directdraw/gstdirectdrawsink.h
index 39d879eb7..f11c95ec5 100644
--- a/sys/directdraw/gstdirectdrawsink.h
+++ b/sys/directdraw/gstdirectdrawsink.h
@@ -93,8 +93,11 @@ struct _GstDirectDrawSink
LPDIRECTDRAWSURFACE primary_surface;
LPDIRECTDRAWSURFACE offscreen_surface;
LPDIRECTDRAWSURFACE overlays;
- LPDIRECTDRAWCLIPPER clipper;
- LPDIRECTDRAWSURFACE extern_surface;
+ LPDIRECTDRAWCLIPPER clipper;
+
+ /*DDCAPS DDDriverCaps;
+ DDCAPS DDHELCaps;
+ gboolean can_blit;*/
/*Directdraw caps */
GstCaps *caps;
@@ -110,6 +113,11 @@ struct _GstDirectDrawSink
gint fps_n;
gint fps_d;
+ /*properties*/
+ LPDIRECTDRAWSURFACE extern_surface;
+ gboolean keep_aspect_ratio;
+ gboolean fullscreen;
+
/*pixel format */
DDPIXELFORMAT dd_pixel_format;
@@ -117,7 +125,6 @@ struct _GstDirectDrawSink
gboolean bUseOverlay;
gboolean bIsOverlayVisible;
- gboolean bFullScreen;
gboolean setup;
GMutex *pool_lock;