[vlc-devel] [PATCH 2/5] input: fix input_SubtitleFileAdd argument

Thomas Guillem thomas at gllm.fr
Sat Feb 13 18:43:46 CET 2016


---
 src/input/input.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/input.c b/src/input/input.c
index 24032be..ae3683d 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -1868,7 +1868,7 @@ static bool Control( input_thread_t *p_input,
 
         case INPUT_CONTROL_ADD_SUBTITLE:
             if( val.psz_string )
-                input_SubtitleFileAdd( p_input, val.psz_string, true );
+                input_SubtitleFileAdd( p_input, val.psz_string, SUB_FORCED );
             break;
 
         case INPUT_CONTROL_ADD_SLAVE:
-- 
2.7.0



More information about the vlc-devel mailing list