[vlc-devel] [RFC 1/4] Rename input_SubtitleAdd to input_SubtitleAddInternal
Jean-Baptiste Kempf
jb at videolan.org
Mon May 11 20:46:02 CEST 2015
---
src/input/input.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index bfebf30..3c6ed39 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -107,7 +107,7 @@ enum {
SUB_CANFAIL = 0x02,
};
-static void input_SubtitleAdd( input_thread_t *, const char *, unsigned );
+static void input_SubtitleAddInternal( input_thread_t *, const char *, unsigned );
static void input_SubtitleFileAdd( input_thread_t *, char *, unsigned );
static void input_ChangeState( input_thread_t *p_input, int i_state ); /* TODO fix name */
@@ -1025,7 +1025,7 @@ static void LoadSubtitles( input_thread_t *p_input )
{
var_SetString( p_input, "sub-description", a->psz_description ? a->psz_description : "");
- input_SubtitleAdd( p_input, psz_mrl, i_flags );
+ input_SubtitleAddInternal( p_input, psz_mrl, i_flags );
i_flags = SUB_NOFLAG;
free( psz_mrl );
@@ -2964,7 +2964,7 @@ static void MRLSections( const char *p,
/*****************************************************************************
* input_AddSubtitles: add a subtitle file and enable it
*****************************************************************************/
-static void input_SubtitleAdd( input_thread_t *p_input,
+static void input_SubtitleAddInternal( input_thread_t *p_input,
const char *url, unsigned i_flags )
{
input_source_t *sub = InputSourceNew( p_input );
@@ -3034,7 +3034,7 @@ static void input_SubtitleFileAdd( input_thread_t *p_input, char *psz_subtitle,
if( url == NULL )
return;
- input_SubtitleAdd( p_input, url, i_flags );
+ input_SubtitleAddInternal( p_input, url, i_flags );
free( url );
}
--
2.4.0
More information about the vlc-devel
mailing list