changeset 2315:c3c73ba53f0e

streaming fixed
author arpi
date Sat, 20 Oct 2001 20:35:12 +0000
parents d0e1c32ad432
children bcb229557e9b
files libmpdemux/open.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/open.c	Sat Oct 20 20:03:10 2001 +0000
+++ b/libmpdemux/open.c	Sat Oct 20 20:35:12 2001 +0000
@@ -261,10 +261,12 @@
           return NULL;
         }
         f=streaming_start( &url, f, *file_format );
+//printf("streaming_start(%d) returned %d\n",*file_format,f);
         if(f<0){ mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_UnableOpenURL, url->url); return NULL; }
         mp_msg(MSGT_OPEN,MSGL_INFO,MSGTR_ConnToServer, url->hostname );
         stream=new_stream(f,STREAMTYPE_STREAM);
-	return NULL;
+//	return NULL;
+	return stream;
   }
 #endif