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
813fa2f5
Commit
813fa2f5
authored
Oct 10, 2002
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handling of URL is now fixed.
parent
da6056b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
plugins/familiar/familiar_callbacks.c
plugins/familiar/familiar_callbacks.c
+16
-2
No files found.
plugins/familiar/familiar_callbacks.c
View file @
813fa2f5
...
...
@@ -2,7 +2,7 @@
* familiar_callbacks.c : Callbacks for the Familiar Linux Gtk+ plugin.
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: familiar_callbacks.c,v 1.6.2.
8 2002/10/07 21:37:11
jpsaman Exp $
* $Id: familiar_callbacks.c,v 1.6.2.
9 2002/10/10 20:33:12
jpsaman Exp $
*
* Authors: Jean-Paul Saman <jpsaman@wxs.nl>
*
...
...
@@ -419,7 +419,21 @@ on_comboURL_entry_changed (GtkEditable *editable,
struct
stat
st
;
psz_url
=
gtk_entry_get_text
(
GTK_ENTRY
(
editable
));
if
(
lstat
((
char
*
)
psz_url
,
&
st
)
==
0
)
if
(
(
strncmp
(
"file://"
,(
const
char
*
)
psz_url
,
7
)
==
0
)
||
(
strncmp
(
"udp://"
,(
const
char
*
)
psz_url
,
6
)
==
0
)
||
(
strncmp
(
"udp4://"
,(
const
char
*
)
psz_url
,
7
)
==
0
)
||
(
strncmp
(
"udp6://"
,(
const
char
*
)
psz_url
,
7
)
==
0
)
||
(
strncmp
(
"udpstream://"
,(
const
char
*
)
psz_url
,
12
)
==
0
)
||
(
strncmp
(
"rtp://"
,(
const
char
*
)
psz_url
,
6
)
==
0
)
||
(
strncmp
(
"rtp4://"
,(
const
char
*
)
psz_url
,
7
)
==
0
)
||
(
strncmp
(
"rtp6://"
,(
const
char
*
)
psz_url
,
7
)
==
0
)
||
(
strncmp
(
"rtpstream://"
,(
const
char
*
)
psz_url
,
12
)
==
0
)
||
(
strncmp
(
"http://"
,(
const
char
*
)
psz_url
,
7
)
==
0
)
)
{
intf_ErrMsg
(
"comboURL change event - open URL"
);
MediaURLOpenChanged
(
GTK_WIDGET
(
editable
),
psz_url
);
}
else
if
(
lstat
((
char
*
)
psz_url
,
&
st
)
==
0
)
{
if
(
S_ISDIR
(
st
.
st_mode
))
ReadDirectory
(
p_intf
->
p_sys
->
p_clist
,
psz_url
);
...
...
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