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
292e0575
Commit
292e0575
authored
Dec 21, 2010
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix segfault in Qt adv_prefs caused by Null text.
parent
3f808957
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
modules/access/http.c
modules/access/http.c
+8
-2
No files found.
modules/access/http.c
View file @
292e0575
...
@@ -105,6 +105,12 @@ static void Close( vlc_object_t * );
...
@@ -105,6 +105,12 @@ static void Close( vlc_object_t * );
"server for all URL. Don't take into account bypasses settings and auto " \
"server for all URL. Don't take into account bypasses settings and auto " \
"configuration scripts.")
"configuration scripts.")
#define REFERER_TEXT N_("HTTP referer value")
#define REFERER_LONGTEXT N_("Customize the HTTP referer, simulating a previous document")
#define UA_TEXT N_("User Agent")
#define UA_LONGTEXT N_("You can use a custom User agent or use a known one")
vlc_module_begin
()
vlc_module_begin
()
set_description
(
N_
(
"HTTP input"
)
)
set_description
(
N_
(
"HTTP input"
)
)
set_capability
(
"access"
,
0
)
set_capability
(
"access"
,
0
)
...
@@ -119,9 +125,9 @@ vlc_module_begin ()
...
@@ -119,9 +125,9 @@ vlc_module_begin ()
add_integer
(
"http-caching"
,
4
*
DEFAULT_PTS_DELAY
/
1000
,
add_integer
(
"http-caching"
,
4
*
DEFAULT_PTS_DELAY
/
1000
,
CACHING_TEXT
,
CACHING_LONGTEXT
,
true
)
CACHING_TEXT
,
CACHING_LONGTEXT
,
true
)
change_safe
()
change_safe
()
add_string
(
"http-referrer"
,
NULL
,
NULL
,
NULL
,
false
)
add_string
(
"http-referrer"
,
NULL
,
REFERER_TEXT
,
REFERER_LONGTEXT
,
false
)
change_safe
()
change_safe
()
add_string
(
"http-user-agent"
,
NULL
,
NULL
,
NULL
,
false
)
add_string
(
"http-user-agent"
,
NULL
,
UA_TEXT
,
UA_LONGTEXT
,
false
)
change_safe
()
change_safe
()
change_private
()
change_private
()
add_bool
(
"http-reconnect"
,
false
,
RECONNECT_TEXT
,
add_bool
(
"http-reconnect"
,
false
,
RECONNECT_TEXT
,
...
...
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