mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 06:42:03 +00:00
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11497 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2029eb17eb
commit
b9a57044fb
@ -911,7 +911,7 @@ int sub_autodetect (FILE *fd, int *uses_time) {
|
||||
{*uses_time=1;return SUB_SUBRIP;}
|
||||
if (sscanf (line, "%d:%d:%d%[,.:]%d --> %d:%d:%d%[,.:]%d", &i, &i, &i, (char *)&i, &i, &i, &i, &i, (char *)&i, &i)==10)
|
||||
{*uses_time=1;return SUB_SUBVIEWER;}
|
||||
if (sscanf (line, "{T %d:%d:%d:%d",&i, &i, &i, &i))
|
||||
if (sscanf (line, "{T %d:%d:%d:%d",&i, &i, &i, &i)==4)
|
||||
{*uses_time=1;return SUB_SUBVIEWER2;}
|
||||
if (strstr (line, "<SAMI>"))
|
||||
{*uses_time=1; return SUB_SAMI;}
|
||||
|
Loading…
Reference in New Issue
Block a user