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
parent 25c51917b4
commit 0075b338c5
3 changed files with 838 additions and 606 deletions

View file

@ -1,3 +1,9 @@
2007-03-11 Sebastien Moutte <sebastien@moutte.net>
* sys/directdraw/gstdirectdrawsink.c:
* sys/directdraw/gstdirectdrawsink.h:
Handle display mode changes during playback.
2007-03-10 David Schleef <ds@schleef.org> 2007-03-10 David Schleef <ds@schleef.org>
* configure.ac: * configure.ac:

File diff suppressed because it is too large Load diff

View file

@ -120,6 +120,15 @@ struct _GstDirectDrawSink
/* TRUE when directdraw objects are setup */ /* TRUE when directdraw objects are setup */
gboolean 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 struct _GstDirectDrawSinkClass