summaryrefslogtreecommitdiff
path: root/src/nouveau_xv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nouveau_xv.c')
-rw-r--r--src/nouveau_xv.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/nouveau_xv.c b/src/nouveau_xv.c
index f510516..ad203a0 100644
--- a/src/nouveau_xv.c
+++ b/src/nouveau_xv.c
@@ -93,6 +93,14 @@ static XF86VideoEncodingRec DummyEncodingTex =
{1, 1}
};
+static XF86VideoEncodingRec DummyEncodingNV50 =
+{
+ 0,
+ "XV_IMAGE",
+ 8192, 8192,
+ {1, 1}
+};
+
#define NUM_FORMATS_ALL 6
XF86VideoFormatRec NVFormats[NUM_FORMATS_ALL] =
@@ -1975,7 +1983,7 @@ NV50SetupTexturedVideo (ScreenPtr pScreen)
adapt->flags = 0;
adapt->name = "Nouveau GeForce 8/9 Textured Video";
adapt->nEncodings = 1;
- adapt->pEncodings = &DummyEncodingTex;
+ adapt->pEncodings = &DummyEncodingNV50;
adapt->nFormats = NUM_FORMATS_ALL;
adapt->pFormats = NVFormats;
adapt->nPorts = NUM_TEXTURE_PORTS;