Commit 038e01b8 authored by Laurent Aimar's avatar Laurent Aimar Committed by Jean-Baptiste Kempf

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  (BP as f4b1fb2e)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent f4b1fb2e
......@@ -303,16 +303,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_fname );
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