[Mplayer-users] Small bug in streaming code

Torstein Tauno Svendsen torstei at linpro.no
Sun Sep 16 19:37:46 CEST 2001


I couldn't get the streaming part to work, it always complained that
it could not recognize the stream. Turns out that instead of sending
the value of the stream_type pointer, the pointer itself is passed to
streaming_start() - I still can't get the streaming to work, but now
it gets further before it fails.

diff -u -b -r1.11 open.c
--- open.c      9 Sep 2001 18:02:50 -0000       1.11
+++ open.c      16 Sep 2001 17:46:25 -0000
@@ -260,7 +260,7 @@
           url_free(url);
           return NULL;
         }
-        f=streaming_start( &url, f, file_format );
+        f=streaming_start( &url, f, *file_format );
         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);



-- 
Torstein

_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list