summaryrefslogtreecommitdiffstats
path: root/sys/directdraw/gstdirectdrawsink.h
diff options
context:
space:
mode:
authorSébastien Moutte <sebastien@moutte.net>2006-07-24 21:43:06 +0000
committerJan Schmidt <thaytan@noraisin.net>2009-05-16 01:29:15 +0100
commit622a56c9372c52835c3ebcaae8f939d9a87f3a5e (patch)
tree7babeb00e86d57713988bcfc60c8e6e4dfbee594 /sys/directdraw/gstdirectdrawsink.h
parent21c22dffd96ad9fe6fd62d44cfc91235932b6234 (diff)
downloadgst-plugins-bad-622a56c9372c52835c3ebcaae8f939d9a87f3a5e.tar.gz
gst-plugins-bad-622a56c9372c52835c3ebcaae8f939d9a87f3a5e.tar.bz2
gst-plugins-bad-622a56c9372c52835c3ebcaae8f939d9a87f3a5e.zip
[MOVED FROM GOOD] sys/directsound/gstdirectsoundsink.*: Add an attenuation property that will directly attenuate the directsound buffer.
Original commit message from CVS: * sys/directsound/gstdirectsoundsink.h: * sys/directsound/gstdirectsoundsink.c: Add an attenuation property that will directly attenuate the directsound buffer. Change the size of the directsound secondary buffer to a half second. Add more debug logs. Add a lock to protect dsound buffer write access. Fix a bad implementation of reset. * sys/directsound/gstdirectdrawsink.c: * sys/directsound/gstdirectdrawsink.h: Add a keep_aspect_ratio property. Do not use overlay if not supported. Add more debug logs. Remove overwrite of WM_ERASEBKGND message handling. It was not redrawing border when keep_aspect_ratio was enabled. * win32/common/config.h: update version waiting an auto-generated config.h
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 39d879eb..f11c95ec 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;