summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Kleiner <mario.kleiner.de@gmail.com>2018-01-24 18:19:38 +0100
committerMichel Dänzer <michel@daenzer.net>2018-01-25 16:47:59 +0100
commit83124426040bc1f2dba74c8eeb5a5a9c7c64e664 (patch)
tree76cfa983e118a6e0b5c322985d96a65f9220aeae
parent2d171c892d373b45ef9f1ee068648437e2529a78 (diff)
Make XvMC extension initialize at depth 30.
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
-rw-r--r--src/radeon_textured_video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c
index 63631c99..23bdfd1d 100644
--- a/src/radeon_textured_video.c
+++ b/src/radeon_textured_video.c
@@ -499,11 +499,11 @@ static XF86VideoEncodingRec DummyEncodingEG[1] =
}
};
-#define NUM_FORMATS 3
+#define NUM_FORMATS 4
static XF86VideoFormatRec Formats[NUM_FORMATS] =
{
- {15, TrueColor}, {16, TrueColor}, {24, TrueColor}
+ {15, TrueColor}, {16, TrueColor}, {24, TrueColor}, {30, TrueColor}
};
#define NUM_ATTRIBUTES 2