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
b4edd4e5
Commit
b4edd4e5
authored
Jul 12, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing non-file types
parent
b43e57e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
3 deletions
+30
-3
src/input/item.c
src/input/item.c
+30
-3
No files found.
src/input/item.c
View file @
b4edd4e5
...
...
@@ -829,22 +829,49 @@ static int GuessType( const input_item_t *p_item )
{
static
const
struct
item_type_entry
tab
[]
=
{
/* /!\ Alphabetical order /!\ */
/* Short match work, not just exact match */
{
"alsa"
,
ITEM_TYPE_CARD
},
{
"atsc"
,
ITEM_TYPE_CARD
},
{
"bd"
,
ITEM_TYPE_DISC
},
{
"cable"
,
ITEM_TYPE_CARD
},
{
"cdda"
,
ITEM_TYPE_CDDA
},
{
"dc1394"
,
ITEM_TYPE_CARD
},
{
"dccp"
,
ITEM_TYPE_NET
},
{
"dir"
,
ITEM_TYPE_DIRECTORY
},
{
"dshow"
,
ITEM_TYPE_CARD
},
{
"dv"
,
ITEM_TYPE_CARD
},
{
"dvb"
,
ITEM_TYPE_CARD
},
{
"dvd"
,
ITEM_TYPE_DISC
},
{
"ftp"
,
ITEM_TYPE_NET
},
{
"http"
,
ITEM_TYPE_NET
},
{
"icyx"
,
ITEM_TYPE_NET
},
{
"itpc"
,
ITEM_TYPE_NET
},
{
"jack"
,
ITEM_TYPE_CARD
},
{
"live"
,
ITEM_TYPE_NET
},
/* livedotcom */
{
"mms"
,
ITEM_TYPE_NET
},
{
"mtp"
,
ITEM_TYPE_DISC
},
{
"ofdm"
,
ITEM_TYPE_CARD
},
{
"oss"
,
ITEM_TYPE_CARD
},
{
"pnm"
,
ITEM_TYPE_NET
},
{
"pvr"
,
ITEM_TYPE_CARD
},
{
"qam"
,
ITEM_TYPE_CARD
},
{
"qpsk"
,
ITEM_TYPE_CARD
},
{
"rtp"
,
ITEM_TYPE_NET
},
{
"rtsp"
,
ITEM_TYPE_NET
},
{
"qtcapt"
,
ITEM_TYPE_CARD
},
/* qtcapture */
{
"raw139"
,
ITEM_TYPE_CARD
},
/* raw1394 */
{
"rt"
,
ITEM_TYPE_NET
},
/* rtp, rtsp, rtmp */
{
"satell"
,
ITEM_TYPE_CARD
},
/* sattelite */
{
"screen"
,
ITEM_TYPE_CARD
},
{
"sdp"
,
ITEM_TYPE_NET
},
{
"smb"
,
ITEM_TYPE_NET
},
{
"udp"
,
ITEM_TYPE_NET
},
{
"svcd"
,
ITEM_TYPE_DISC
},
{
"tcp"
,
ITEM_TYPE_NET
},
{
"terres"
,
ITEM_TYPE_CARD
},
/* terrestrial */
{
"udp"
,
ITEM_TYPE_NET
},
/* udplite too */
{
"unsv"
,
ITEM_TYPE_NET
},
{
"usdigi"
,
ITEM_TYPE_CARD
},
/* usdigital */
{
"v4l"
,
ITEM_TYPE_CARD
},
{
"vcd"
,
ITEM_TYPE_DISC
},
{
"window"
,
ITEM_TYPE_CARD
},
};
const
struct
item_type_entry
*
e
;
...
...
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