mcst-linux-kernel/patches-2024.06.26/mplayer-1.3.0/0010-Change-video-output-pr...

41 lines
1.0 KiB
Diff

From 7a953cf477c59919e506f7624c44a94df0ce7641 Mon Sep 17 00:00:00 2001
Date: Fri, 29 Dec 2017 13:33:58 +0300
Subject: [PATCH] Change video output priority for e1c+
---
libvo/video_out.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/libvo/video_out.c b/libvo/video_out.c
index 1d98705..71aee7f 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -202,6 +202,11 @@ const vo_functions_t* const video_out_drivers[] =
#ifdef CONFIG_XV
&video_out_xv,
#endif
+#ifdef __elbrus_1cplus__
+ #ifdef CONFIG_GLES
+ &video_out_gles,
+ #endif
+#endif
#ifdef CONFIG_GL
&video_out_gl_nosw,
#endif
@@ -218,8 +223,10 @@ const vo_functions_t* const video_out_drivers[] =
#if defined(CONFIG_GL_WIN32) || defined(CONFIG_GL_X11) || defined(CONFIG_GL_OSX)
&video_out_gl_tiled,
#endif
-#ifdef CONFIG_GLES
- &video_out_gles,
+#ifndef __elbrus_1cplus__
+ #ifdef CONFIG_GLES
+ &video_out_gles,
+ #endif
#endif
#ifdef CONFIG_DGA
&video_out_dga,
--
2.16.4