[MPlayer-dev-eng] Re: ftp support broke in pre4?
adland
adland123 at yahoo.com
Sun May 2 03:12:56 CEST 2004
my test patch for this issue was different
your patch for some reason playback did not start
I will run some more tests.
test
I made a simple plaintext playlist with entry
ftp://anonymous:guest@ftp.linux.org.uk/pub/linux/alan/Talks/OGG/actalk_1.ogg
(some Alan Cox talks - found on search engine)
./mplayer -ao alsa1x -playlist playlist2
--- main/libmpdemux/network.c 2004-05-01 19:38:20.000000000 -0400
+++ updated/libmpdemux/network.c 2004-05-01 20:54:00.000000000 -0400
@@ -652,6 +652,12 @@
return -1;
}
+ //Checking for ftp://
+ if( !strcasecmp(url->protocol, "ftp") ) {
+ *file_format = DEMUXER_TYPE_UNKNOWN;
+ return 0;
+ }
+
// Checking for PNM://
if( !strcasecmp(url->protocol, "pnm") ) {
*file_format = DEMUXER_TYPE_REAL;
thanks
More information about the MPlayer-dev-eng
mailing list