[vlc-devel] [PATCH] live555 demux exit when no more data received

sebastien-devel at celeos.eu sebastien-devel at celeos.eu
Mon Jun 16 14:25:09 CEST 2008


Hi

This is more a suggestion than a patch because I am new here and I don't know
enough about vlc yet.

The problem here is that live555 demux never ends when there is no more data
received (connection lost, eof....)

I removed the p_sys->b_no_data check because this can happen after data is
received first (and this check didn't make any sense with the previous 'else
if')

--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -1223,7 +1223,7 @@ static int Demux( demux_t *p_demux )
             return 0;
         }
     }
-    else if( !p_sys->b_multicast && p_sys->b_no_data && p_sys->i_no_data_ti >
34 )
+    else if( !p_sys->b_multicast && p_sys->i_no_data_ti > 34 )
     {
         /* EOF ? */
         msg_Warn( p_demux, "no data received in 10s, eof ?" );



More information about the vlc-devel mailing list