summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Ciccani <klan@users.sourceforge.net>2007-01-11 16:20:55 +0000
committerClaudio Ciccani <klan@users.sourceforge.net>2007-01-11 16:20:55 +0000
commitad5f987c2e5b2be240b114461a47fe52c479ab9f (patch)
treea5707df221f75d42004fa827022f3ead8ae78847
parentdac1c574d51ce8f6e37f0100cc05e49a39ab860d (diff)
downloadxine-lib-ad5f987c2e5b2be240b114461a47fe52c479ab9f.tar.gz
xine-lib-ad5f987c2e5b2be240b114461a47fe52c479ab9f.tar.bz2
Reconnect to the server just after the first request.
CVS patchset: 8497 CVS date: 2007/01/11 16:20:55
-rw-r--r--src/input/mmsh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/input/mmsh.c b/src/input/mmsh.c
index cf8ab8a6b..30c16001d 100644
--- a/src/input/mmsh.c
+++ b/src/input/mmsh.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: mmsh.c,v 1.41 2007/01/09 20:50:59 klan Exp $
+ * $Id: mmsh.c,v 1.42 2007/01/11 16:20:55 klan Exp $
*
* MMS over HTTP protocol
* written by Thibaut Mattern
@@ -555,6 +555,9 @@ static int mmsh_connect_int(mmsh_t *this, int bandwidth) {
asf_header_disable_streams (this->asf_header,
this->video_stream, this->audio_stream);
+
+ if (mmsh_tcp_connect(this))
+ return 0;
return 1;
}
@@ -569,9 +572,6 @@ static int mmsh_connect_int2(mmsh_t *this, int bandwidth) {
/* second request */
lprintf("second http request\n");
-
- if (mmsh_tcp_connect(this))
- return 0;
/* stream selection string */
/* The same selection is done with mmst */