[vlc-commits] android_window: add chroma option
Thomas Guillem
git at videolan.org
Mon Jun 22 16:49:27 CEST 2015
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jun 22 16:47:05 2015 +0200| [64ea87bec4c5dd38c0aa800a0fc37cab406002dc] | committer: Thomas Guillem
android_window: add chroma option
This option was previously set by androidsurface.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=64ea87bec4c5dd38c0aa800a0fc37cab406002dc
---
modules/video_output/android/android_window.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/video_output/android/android_window.c b/modules/video_output/android/android_window.c
index 1beef8e..2d264e0 100644
--- a/modules/video_output/android/android_window.c
+++ b/modules/video_output/android/android_window.c
@@ -47,7 +47,7 @@
#define CHROMA_LONGTEXT N_(\
"Force use of a specific chroma for output. Default is RGB32.")
-#define CFG_PREFIX "androidsurface-"
+#define CFG_PREFIX "androidwindow-"
static int Open (vlc_object_t *);
static void Close(vlc_object_t *);
@@ -58,6 +58,7 @@ vlc_module_begin()
set_description(N_("Android video output"))
set_capability("vout display", 260)
add_shortcut("androidwindow", "android")
+ add_string(CFG_PREFIX "chroma", NULL, CHROMA_TEXT, CHROMA_LONGTEXT, true)
set_callbacks(Open, Close)
vlc_module_end()
More information about the vlc-commits
mailing list