[MPlayer-users] ftp stream

Okopnik Grigori glcyrus at inbox.ru
Mon Sep 5 23:33:54 CEST 2005


Hi there!

This is not full-fledged bug,
still there's difference in functionality between
file_stream and ftp_stream.
And this functionality matters in some files!!
That files are encoded not by MEncoder.
If you really need this, I may give you a link to that file,
but I believe there's no need for that.
Patch is pretty simple (MPlayer-1.0pre7):

--- stream_ftp.c.orig 2003-08-17 15:07:18.000000000 +0400
+++ stream_ftp.c 2005-09-02 03:41:54.000000000 +0400
@@ -249,7 +249,7 @@
   fd_set fds;
   struct timeval tv;
 
-  if(s->pos > s->end_pos) {
+  if((s->pos > s->end_pos) || (newpos > s->end_pos)) {
     s->eof=1;
     return 0;
   }

Best Regards,
Gl Cyrus




More information about the MPlayer-users mailing list