Commit 34a6f140 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

vlc_input: Fix misleading parameter name

input_AddSubtitleOSD expects a file path, not an URL
parent d4254763
......@@ -576,10 +576,10 @@ static inline vout_thread_t *input_GetVout( input_thread_t *p_input )
* It will add a new subtitle source to the input.
* Provided for convenience.
*/
static inline int input_AddSubtitleOSD( input_thread_t *p_input, const char *psz_url,
static inline int input_AddSubtitleOSD( input_thread_t *p_input, const char *psz_path,
bool b_check_extension, bool b_osd )
{
int i_result = input_Control( p_input, INPUT_ADD_SUBTITLE, psz_url, b_check_extension );
int i_result = input_Control( p_input, INPUT_ADD_SUBTITLE, psz_path, b_check_extension );
if( i_result != VLC_SUCCESS || !b_osd )
return i_result;
......
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