Commit 64ea87be authored by Thomas Guillem's avatar Thomas Guillem

android_window: add chroma option

This option was previously set by androidsurface.
parent 0bcb7fd2
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
#define CHROMA_LONGTEXT N_(\ #define CHROMA_LONGTEXT N_(\
"Force use of a specific chroma for output. Default is RGB32.") "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 int Open (vlc_object_t *);
static void Close(vlc_object_t *); static void Close(vlc_object_t *);
...@@ -58,6 +58,7 @@ vlc_module_begin() ...@@ -58,6 +58,7 @@ vlc_module_begin()
set_description(N_("Android video output")) set_description(N_("Android video output"))
set_capability("vout display", 260) set_capability("vout display", 260)
add_shortcut("androidwindow", "android") add_shortcut("androidwindow", "android")
add_string(CFG_PREFIX "chroma", NULL, CHROMA_TEXT, CHROMA_LONGTEXT, true)
set_callbacks(Open, Close) set_callbacks(Open, Close)
vlc_module_end() vlc_module_end()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment