Opened 14 years ago
Closed 14 years ago
#7641 closed defect (fixed)
blank screen with vdpau after screen saver has activated
Reported by: | fracmak | Owned by: | markk |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - Video Playback | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
From what I've gathered from the mythtv-users list, it seems that when a screensaver has activated, it draws over the vdpau colorkey, so when playback resumes, the video no longer displays. Seems the simplest way to do this is to refresh the colorkey when coming out of pause (seems to make sense since that's also when we turn off the screen saver/DPMS). I'm not 100% familiar with the code, but it seems like we could call videoOutput->DrawUnusedRects?() from inside the NuppleVideoPlayer?() which might solve the issue.
Attachments (2)
Change History (7)
Changed 14 years ago by
Attachment: | unpause.diff added |
---|
comment:1 Changed 14 years ago by
Owner: | changed from Janne Grunau to markk |
---|---|
Status: | new → accepted |
comment:2 Changed 14 years ago by
I'm actually seeing this with xscreensaver (since gnome is busted on my system as well due to ubuntu 9.10). But I'll try out the patch tonight and let you know if that fixes things.
comment:3 Changed 14 years ago by
Nope, does not fix the issue. I was able to get it to work by added
videoOutput->ExposeEvent?();
But I don't know if that's a hack or not, seems to be the only way to tell the window it needs to be redrawn. Not certain what the ramifications are for other renderers either.
Can you try the attached patch. I can't test myself as the Gnome screensavers seem to be broken on both my systems.
thnks, Mark