diff options
author | Sébastien Moutte <sebastien@moutte.net> | 2006-07-24 21:43:06 +0000 |
---|---|---|
committer | Sébastien Moutte <sebastien@moutte.net> | 2006-07-24 21:43:06 +0000 |
commit | 454c2523355d5a278cf1293c446f308ce4d48c61 (patch) | |
tree | 50b441e89813aecb14c014797125d1b891a0261c /sys/directdraw/gstdirectdrawsink.h | |
parent | b7f35a1240ff5ff5ccdfceb4730242f1714d9a18 (diff) | |
download | gst-plugins-bad-454c2523355d5a278cf1293c446f308ce4d48c61.tar.gz gst-plugins-bad-454c2523355d5a278cf1293c446f308ce4d48c61.tar.bz2 gst-plugins-bad-454c2523355d5a278cf1293c446f308ce4d48c61.zip |
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.h | 13 |
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; |