Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
c6ab3932
Commit
c6ab3932
authored
May 31, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not scan for subtitles files in the current dir for TS files
This should work around #3547.
parent
732ea8c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
src/input/subtitles.c
src/input/subtitles.c
+9
-0
No files found.
src/input/subtitles.c
View file @
c6ab3932
...
@@ -282,6 +282,15 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
...
@@ -282,6 +282,15 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
i_fname_len
=
strlen
(
f_fname
);
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_noext
=
malloc
(
i_fname_len
+
1
);
f_fname_trim
=
malloc
(
i_fname_len
+
1
);
f_fname_trim
=
malloc
(
i_fname_len
+
1
);
if
(
!
f_fname_noext
||
!
f_fname_trim
)
if
(
!
f_fname_noext
||
!
f_fname_trim
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment