[mythtv-commits] Ticket #7848: Last displayed picture remains displayed after playback.
MythTV
mythtv at cvs.mythtv.org
Sun Jan 31 12:54:32 UTC 2010
#7848: Last displayed picture remains displayed after playback.
-------------------------------------+--------------------------------------
Reporter: dvbmail@… | Owner: markk
Type: defect | Status: closed
Priority: major | Milestone: 0.23
Component: MythTV - Video Playback | Version: 0.22-fixes
Severity: medium | Resolution: worksforme
Mlocked: 0 |
-------------------------------------+--------------------------------------
Comment(by dvbmail@…):
Ok, this remark really helped to find a workaround for this problem.
Overlay video is not the most used method for displaying video but it
would still be nice to have a good solution for it. Depending on the
overlay implementation problems can show up in different ways (e.g. chroma
keying). Also nice to deallocate unused video memory when finished with
displaying video.
The issue can be resolved by specificaly telling X the video output has
stopped. I added a call to XvStopVideo in the destructor of
videoout_xv.cpp and ignore the result since most drivers will not have
implemented this function. Adding this call will give the right
implementation for X when stopping video without closing the window (used
or not by the driver).
I am not 100% sure if I put it at the right place but it works for me.
Patch attached.
The problem can only be reproduced on video cards supporting overlay
video, not sure how many drivers use this and often it needs specific
enabling. Older radeon cards use this method and I think some intel
onboard gfx have this option.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7848#comment:4>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list