[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.*: Handle display mode changes during playback.

Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c:
* sys/directdraw/gstdirectdrawsink.h:
Handle display mode changes during playback.
This commit is contained in:
Sébastien Moutte 2007-03-11 22:23:04 +00:00 committed by Jan Schmidt
parent 2949448e31
commit bf5c0a89f0
2 changed files with 832 additions and 606 deletions

File diff suppressed because it is too large Load diff

View file

@ -120,6 +120,15 @@ struct _GstDirectDrawSink
/* TRUE when directdraw objects are setup */
gboolean setup;
/* TRUE if the hardware support blitting from one colorspace to another */
gboolean can_blit_between_colorspace;
/* this flag is used to force re-creation of our offscreen surface
* it's need when hardware doesn't support fourcc blit and the bit deph
* of the current display mode changes.
*/
gboolean must_recreate_offscreen;
};
struct _GstDirectDrawSinkClass