Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
bfefedf7
Commit
bfefedf7
authored
Apr 25, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mms: reduce mtu (avoid too much delay with slow connection)
parent
eac2d454
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
modules/access/mms/mmsh.c
modules/access/mms/mmsh.c
+6
-4
No files found.
modules/access/mms/mmsh.c
View file @
bfefedf7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* mmsh.c:
* mmsh.c:
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* Copyright (C) 2001, 2002 VideoLAN
* $Id: mmsh.c,v 1.
1 2003/04/20 19:29:43
fenrir Exp $
* $Id: mmsh.c,v 1.
2 2003/04/25 17:33:57
fenrir Exp $
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
...
@@ -137,7 +137,6 @@ int E_( MMSHOpen ) ( input_thread_t *p_input )
...
@@ -137,7 +137,6 @@ int E_( MMSHOpen ) ( input_thread_t *p_input )
p_sys
->
i_request_context
=
1
;
p_sys
->
i_request_context
=
1
;
/* *** send first request *** */
/* *** send first request *** */
/* FIXME use generateguid */
p
=
&
p_sys
->
buffer
[
0
];
p
=
&
p_sys
->
buffer
[
0
];
p
+=
sprintf
(
p
,
"GET %s HTTP/1.0
\r\n
"
,
p_sys
->
p_url
->
psz_path
);
p
+=
sprintf
(
p
,
"GET %s HTTP/1.0
\r\n
"
,
p_sys
->
p_url
->
psz_path
);
p
+=
sprintf
(
p
,
"Accept: */*
\r\n
"
);
p
+=
sprintf
(
p
,
"Accept: */*
\r\n
"
);
...
@@ -273,11 +272,11 @@ int E_( MMSHOpen ) ( input_thread_t *p_input )
...
@@ -273,11 +272,11 @@ int E_( MMSHOpen ) ( input_thread_t *p_input )
p_input
->
pf_set_area
=
NULL
;
p_input
->
pf_set_area
=
NULL
;
p_input
->
p_private
=
NULL
;
p_input
->
p_private
=
NULL
;
//p_input->i_mtu = 5
* p_sys->asfh.i_min_data_packet_size;
p_input
->
i_mtu
=
3
*
p_sys
->
asfh
.
i_min_data_packet_size
;
/* *** finished to set some variable *** */
/* *** finished to set some variable *** */
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
vlc_mutex_lock
(
&
p_input
->
stream
.
stream_lock
);
p_input
->
stream
.
b_pace_control
=
1
;
p_input
->
stream
.
b_pace_control
=
0
;
if
(
p_sys
->
b_broadcast
)
if
(
p_sys
->
b_broadcast
)
{
{
p_input
->
stream
.
p_selected_area
->
i_size
=
0
;
p_input
->
stream
.
p_selected_area
->
i_size
=
0
;
...
@@ -474,6 +473,9 @@ static int Read ( input_thread_t * p_input, byte_t * p_buffer,
...
@@ -474,6 +473,9 @@ static int Read ( input_thread_t * p_input, byte_t * p_buffer,
{
{
return
0
;
return
0
;
}
}
//fprintf( stderr, "type=0x%x size=%d sequence=%d unknown=%d size2=%d data=%d\n",
// ck.i_type, ck.i_size, ck.i_sequence, ck.i_unknown, ck.i_size2, ck.i_data );
}
}
}
}
...
...
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