Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
5b676ba1
Commit
5b676ba1
authored
May 16, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the type guess: this can be a protocol only if you xan find a :// in it.
(and add ftp and smb to the list)
parent
6dce48f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/input/item.c
src/input/item.c
+3
-1
No files found.
src/input/item.c
View file @
5b676ba1
...
...
@@ -788,10 +788,12 @@ static void GuessType( input_item_t *p_item)
{
"dvb"
,
ITEM_TYPE_CARD
},
{
"qpsk"
,
ITEM_TYPE_CARD
},
{
"sdp"
,
ITEM_TYPE_NET
},
{
"ftp"
,
ITEM_TYPE_NET
},
{
"smb"
,
ITEM_TYPE_NET
},
{
NULL
,
0
}
};
if
(
!
p_item
->
psz_uri
)
if
(
!
p_item
->
psz_uri
||
!
strstr
(
p_item
->
psz_uri
,
"://"
)
)
{
p_item
->
i_type
=
ITEM_TYPE_FILE
;
return
;
...
...
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