Commit 3c778bde authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vdpau: catch display preemption error

parent 1b0ba4e6
...@@ -237,6 +237,8 @@ static void Queue(vout_display_t *vd, picture_t *pic, subpicture_t *subpic) ...@@ -237,6 +237,8 @@ static void Queue(vout_display_t *vd, picture_t *pic, subpicture_t *subpic)
{ {
msg_Err(vd, "presentation queue time failure: %s", msg_Err(vd, "presentation queue time failure: %s",
vdp_get_error_string(sys->vdp, err)); vdp_get_error_string(sys->vdp, err));
if (err == VDP_STATUS_DISPLAY_PREEMPTED)
vout_display_SendEventPicturesInvalid(vd);
return; return;
} }
......
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