Commit bfe5bcce authored by Laurent Aimar's avatar Laurent Aimar

Revert "Do not scan for subtitles files in the current dir for TS files"

This reverts commit c6ab3932.

It is not needed anymore with 769aa8d3f72623abd2543a84d90eba21c89e3f45.
parent 46576f85
......@@ -282,15 +282,6 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
i_fname_len = strlen( f_fname );
/* HACK: do not look for subtitles for Transport Streams */
/* This breaks the clock synchronization */
if( i_fname_len > 3 && !strcasecmp( f_fname + i_fname_len - 3, ".ts" ) )
{
free( f_dir );
free( psz_fname );
return NULL;
}
f_fname_noext = malloc(i_fname_len + 1);
f_fname_trim = malloc(i_fname_len + 1 );
if( !f_fname_noext || !f_fname_trim )
......
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