[vlc-commits] input: fix input_SubtitleFileAdd argument

Thomas Guillem git at videolan.org
Mon Feb 15 15:05:48 CET 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Sat Feb 13 17:06:39 2016 +0100| [e9c05a22c149cdac604b7c7ca208e226a15e99c0] | committer: Thomas Guillem

input: fix input_SubtitleFileAdd argument

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e9c05a22c149cdac604b7c7ca208e226a15e99c0
---

 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:



More information about the vlc-commits mailing list