summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hellström <thomas@shipmail.org>2005-08-13 10:34:45 +0000
committerThomas Hellström <thomas@shipmail.org>2005-08-13 10:34:45 +0000
commiteb0a37a6568850a6e87577bd5dd914e3b47cb9ee (patch)
tree1c5aef99d0e0397c725586e677727d79a365da23
parent47b62e0ba5913538459be34fe54c28b0e1e0ecd6 (diff)
Destroy video surfaces on video exit / stop.
-rw-r--r--ChangeLog8
-rw-r--r--unichrome/via_swov.c4
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 2787c92..19e8a48 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2005-08-13 Thomas Hellström <unichrome-at-shipmail-dot-org>
+ * unichrome/via_swov.c: (ViaSwovSurfaceDestroy):
+
+ -Destroy video surfaces on video exit / stop.
+
+2005-08-13 Thomas Hellström <unichrome-at-shipmail-dot-org>
+
* unichrome/via_driver.c: (VIAAdjustFrame)
-Fix Xv panning also for VBEModes.
@@ -18,7 +24,7 @@
* unichrome/via_video.c: (RegionsEqual), (viaReputImage),
(viaSetupAdaptors), (VIAVidAdjustFrame):
- -Fix Xv panning.
+ -Fix Xv panning. Speed up overlay updates on window moves.
2005-08-12 Thomas Hellström <unichrome-at-shipmail-dot-org>
diff --git a/unichrome/via_swov.c b/unichrome/via_swov.c
index 1e0aac3..07837ad 100644
--- a/unichrome/via_swov.c
+++ b/unichrome/via_swov.c
@@ -1104,13 +1104,13 @@ ViaSwovSurfaceDestroy(ScrnInfoPtr pScrn, viaPortPrivPtr pPriv)
{
VIAPtr pVia = VIAPTR(pScrn);
DBG_DD(ErrorF("ViaSwovSurfaceDestroy: FourCC =0x%08lx\n",
- pPriv->FourCC));
+ pPriv->lastId));
if (pVia->VideoStatus & VIDEO_SWOV_SURFACE_CREATED) {
DBG_DD(ErrorF("ViaSwovSurfaceDestroy: VideoStatus =0x%08lx\n",
pVia->VideoStatus));
- switch (pPriv->FourCC) {
+ switch (pPriv->lastId) {
case FOURCC_YUY2:
pVia->swov.SrcFourCC = 0;