Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
cb2ec471
Commit
cb2ec471
authored
Feb 20, 2012
by
Konstantin Pavlov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cdda: use http tunnelling mode and use port 80 for requests.
Closes: #6081
parent
55295e3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
modules/access/cdda.c
modules/access/cdda.c
+7
-4
No files found.
modules/access/cdda.c
View file @
cb2ec471
...
...
@@ -77,7 +77,7 @@ vlc_module_begin ()
#ifdef HAVE_LIBCDDB
add_string
(
"cddb-server"
,
"freedb.videolan.org"
,
N_
(
"CDDB Server"
),
N_
(
"Address of the CDDB server to use."
),
true
)
add_integer
(
"cddb-port"
,
8
88
0
,
N_
(
"CDDB port"
),
add_integer
(
"cddb-port"
,
80
,
N_
(
"CDDB port"
),
N_
(
"CDDB Server port to use."
),
true
)
#endif
...
...
@@ -602,6 +602,9 @@ static cddb_disc_t *GetCDDBInfo( access_t *p_access, int i_titles, int *p_sector
}
/* */
cddb_http_enable
(
p_cddb
);
char
*
psz_tmp
=
var_InheritString
(
p_access
,
"cddb-server"
);
if
(
psz_tmp
)
{
...
...
@@ -613,6 +616,9 @@ static cddb_disc_t *GetCDDBInfo( access_t *p_access, int i_titles, int *p_sector
cddb_set_email_address
(
p_cddb
,
"vlc@videolan.org"
);
cddb_set_http_path_query
(
p_cddb
,
"/~cddb/cddb.cgi"
);
cddb_set_http_path_submit
(
p_cddb
,
"/~cddb/submit.cgi"
);
/// \todo
cddb_cache_disable
(
p_cddb
);
...
...
@@ -622,9 +628,6 @@ static cddb_disc_t *GetCDDBInfo( access_t *p_access, int i_titles, int *p_sector
cddb_set_timeout
(
p_cddb
,
10
);
/// \todo
cddb_http_disable
(
p_cddb
);
/* */
cddb_disc_t
*
p_disc
=
cddb_disc_new
();
if
(
!
p_disc
)
...
...
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