Commit b839a2d3 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

direct3d9: do not call SendEventPicturesInvalid if it's not supported

For now using hardware acceleration won't allow using the wallpaper mode. Since
it reopens the device completely, the decoder loses the ties with with the
previous one and should be restarted from scratch.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent abd8a983
......@@ -670,7 +670,8 @@ static void Manage (vout_display_t *vd)
if (ch_desktop) {
sys->reopen_device = true;
vout_display_SendEventPicturesInvalid(vd);
if (vd->info.has_pictures_invalid)
vout_display_SendEventPicturesInvalid(vd);
}
/* Position Change */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment