* udp.c: raw UDP & RTP access plug-in
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
- * $Id: udp.c,v 1.17 2003/03/24 19:12:16 gbazin Exp $
+ * $Id: udp.c,v 1.19 2003/03/30 18:14:35 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Tristan Leteurtre <tooney@via.ecp.fr>
"value should be set in miliseconds units." )
vlc_module_begin();
- set_description( _("raw UDP access module") );
+ set_description( _("UDP/RTP input") );
add_category_hint( N_("udp"), NULL , VLC_TRUE );
add_integer( "udp-caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
set_capability( "access", 0 );
NULL, NULL, &timeout )) == 0
|| (i_ret < 0 && errno == EINTR) )
{
+ FD_ZERO( &fds );
+ FD_SET( p_access_data->i_handle, &fds );
timeout.tv_sec = 0;
timeout.tv_usec = 500000;