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
24621547
Commit
24621547
authored
Sep 28, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/access/http.c: set ACCESS_CAN_CONTROL_PACE to false when dealing with ICY servers.
parent
8750bd1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
modules/access/http.c
modules/access/http.c
+6
-6
No files found.
modules/access/http.c
View file @
24621547
...
@@ -117,6 +117,7 @@ struct access_sys_t
...
@@ -117,6 +117,7 @@ struct access_sys_t
vlc_bool_t
b_seekable
;
vlc_bool_t
b_seekable
;
vlc_bool_t
b_reconnect
;
vlc_bool_t
b_reconnect
;
vlc_bool_t
b_pace_control
;
};
};
/* */
/* */
...
@@ -132,7 +133,7 @@ static char *b64_encode( unsigned char *src );
...
@@ -132,7 +133,7 @@ static char *b64_encode( unsigned char *src );
/*****************************************************************************
/*****************************************************************************
* Open:
* Open:
*****************************************************************************/
*****************************************************************************/
static
int
Open
(
vlc_object_t
*
p_this
)
static
int
Open
(
vlc_object_t
*
p_this
)
{
{
access_t
*
p_access
=
(
access_t
*
)
p_this
;
access_t
*
p_access
=
(
access_t
*
)
p_this
;
access_sys_t
*
p_sys
;
access_sys_t
*
p_sys
;
...
@@ -184,7 +185,7 @@ static int Open ( vlc_object_t *p_this )
...
@@ -184,7 +185,7 @@ static int Open ( vlc_object_t *p_this )
p_sys
->
psz_mime
=
NULL
;
p_sys
->
psz_mime
=
NULL
;
p_sys
->
psz_location
=
NULL
;
p_sys
->
psz_location
=
NULL
;
p_sys
->
psz_user_agent
=
NULL
;
p_sys
->
psz_user_agent
=
NULL
;
p_sys
->
b_pace_control
=
VLC_TRUE
;
/* Parse URI */
/* Parse URI */
ParseURL
(
p_sys
,
p_access
->
psz_path
);
ParseURL
(
p_sys
,
p_access
->
psz_path
);
...
@@ -312,6 +313,8 @@ static int Open ( vlc_object_t *p_this )
...
@@ -312,6 +313,8 @@ static int Open ( vlc_object_t *p_this )
msg_Info
(
p_access
,
"ICY server found, %s demuxer selected"
,
msg_Info
(
p_access
,
"ICY server found, %s demuxer selected"
,
p_access
->
psz_demux
);
p_access
->
psz_demux
);
p_sys
->
b_pace_control
=
VLC_FALSE
;
}
}
if
(
p_sys
->
b_reconnect
)
msg_Dbg
(
p_access
,
"auto re-connect enabled"
);
if
(
p_sys
->
b_reconnect
)
msg_Dbg
(
p_access
,
"auto re-connect enabled"
);
...
@@ -505,12 +508,9 @@ static int Control( access_t *p_access, int i_query, va_list args )
...
@@ -505,12 +508,9 @@ static int Control( access_t *p_access, int i_query, va_list args )
*
pb_bool
=
VLC_FALSE
;
*
pb_bool
=
VLC_FALSE
;
break
;
break
;
case
ACCESS_CAN_PAUSE
:
case
ACCESS_CAN_PAUSE
:
pb_bool
=
(
vlc_bool_t
*
)
va_arg
(
args
,
vlc_bool_t
*
);
*
pb_bool
=
VLC_TRUE
;
/* FIXME */
break
;
case
ACCESS_CAN_CONTROL_PACE
:
case
ACCESS_CAN_CONTROL_PACE
:
pb_bool
=
(
vlc_bool_t
*
)
va_arg
(
args
,
vlc_bool_t
*
);
pb_bool
=
(
vlc_bool_t
*
)
va_arg
(
args
,
vlc_bool_t
*
);
*
pb_bool
=
VLC_TRUE
;
/* FIXME */
*
pb_bool
=
p_sys
->
b_pace_control
;
break
;
break
;
/* */
/* */
...
...
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