[PATCH 2/2] radeon: Make XvMC extension initialize at depth 30.

Mario Kleiner mario.kleiner.de at gmail.com
Wed Jan 24 17:19:38 UTC 2018


Signed-off-by: Mario Kleiner <mario.kleiner.de at gmail.com>
---
 src/radeon_textured_video.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c
index 63631c9..23bdfd1 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
-- 
2.7.4



More information about the amd-gfx mailing list