[vlc-devel] [PATCH 48/48] vdpau: catch display preemption error
Rémi Denis-Courmont
remi at remlab.net
Tue Jul 2 19:52:14 CEST 2013
---
modules/hw/vdpau/display.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/hw/vdpau/display.c b/modules/hw/vdpau/display.c
index e1e99b6..2119869 100644
--- a/modules/hw/vdpau/display.c
+++ b/modules/hw/vdpau/display.c
@@ -238,6 +238,8 @@ static void Queue(vout_display_t *vd, picture_t *pic, subpicture_t *subpic)
{
msg_Err(vd, "presentation queue time failure: %s",
vdp_get_error_string(sys->vdp, err));
+ if (err == VDP_STATUS_DISPLAY_PREEMPTED)
+ vout_display_SendEventClose(vd);
return;
}
--
1.8.3.2
More information about the vlc-devel
mailing list