Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
58ab8de5
Commit
58ab8de5
authored
May 07, 2001
by
Henri Fallon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added detection for ".ts" extension.
parent
ca90f850
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
plugins/mpeg/input_ts.c
plugins/mpeg/input_ts.c
+8
-1
No files found.
plugins/mpeg/input_ts.c
View file @
58ab8de5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* input_ts.c: TS demux and netlist management
* input_ts.c: TS demux and netlist management
*****************************************************************************
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: input_ts.c,v 1.1
7 2001/05/06 18:32:30 stef
Exp $
* $Id: input_ts.c,v 1.1
8 2001/05/07 04:35:21 henri
Exp $
*
*
* Authors: Henri Fallon <henri@videolan.org>
* Authors: Henri Fallon <henri@videolan.org>
*
*
...
@@ -132,6 +132,13 @@ static int TSProbe( probedata_t * p_data )
...
@@ -132,6 +132,13 @@ static int TSProbe( probedata_t * p_data )
psz_name
+=
5
;
psz_name
+=
5
;
}
}
if
(
(
strlen
(
psz_name
)
>
3
)
&&
!
strncasecmp
(
psz_name
+
strlen
(
psz_name
)
-
3
,
".ts"
,
3
)
)
{
/* If it is a ".ts" file it's probably a TS file ... */
return
(
900
);
}
i_handle
=
open
(
psz_name
,
0
);
i_handle
=
open
(
psz_name
,
0
);
if
(
i_handle
==
-
1
)
if
(
i_handle
==
-
1
)
{
{
...
...
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