Open GoogleCodeExporter opened 9 years ago
mediate now yields to windows (and suspends rendering) when it loses focus in
fullscreen exclusive mode. This is still not perfect, since the display mode is
not
set back, but we should now be able to recover from most crash scenarios.
It doesn’t look very pretty either since the minimised mediate window icon
looks odd,
but there doesn’t seem to be much we can do about that – tested with a
smaller icon
but it looks worse!
Ideally we should release the DirectX display device when we lose focus, and
recover
it when focus is returned. This is correct behaviour for a DirectX application,
but
it would cause severe issues with the DivX codec toolbar stealing focus from
mediate
when we render a video file.
At present, the only reliable way we can release Directshow resources to allow a
display reset is to stop the video completely – that obviously wouldn’t
work with
DivX files as we couldn’t watch them if we release/recover the display device.
We may be able to review this later if we determine how to seamlessly reset the
display whilst DirectShow is running – more research is required, however
there would
still be considerable flickering when a DivX video is started.
Original comment by aretman...@gmail.com
on 26 Jan 2009 at 2:44
Original issue reported on code.google.com by
aretman...@gmail.com
on 9 Jun 2008 at 2:42