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
be9312fd
Commit
be9312fd
authored
Sep 02, 2008
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
subtitle detection: add support for auto-detecting ass, jss, rt and usf subs (AHUM :D !!!! )
parent
4be371f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
src/input/subtitles.c
src/input/subtitles.c
+2
-6
No files found.
src/input/subtitles.c
View file @
be9312fd
...
...
@@ -62,15 +62,11 @@ static const char const sub_exts[][6] = {
"utf"
,
"utf8"
,
"utf-8"
,
"sub"
,
"srt"
,
"smi"
,
"txt"
,
"ssa"
,
"idx"
,
"cdg"
,
"ass"
,
"rt"
,
"aqt"
,
"usf"
,
"jss"
,
"cdg"
,
""
};
/* extensions from unsupported types */
/* rt, aqt, jss, js, ass */
static
void
strcpy_trim
(
char
*
d
,
const
char
*
s
)
{
/* skip leading whitespace */
...
...
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