-
-
-//---------------------------------------------------------------------------
-// Network
-//---------------------------------------------------------------------------
-void VlcProc::AddNetworkUDP( int port )
-{
- // Build source name
- char *s_port = new char[5];
- sprintf( s_port, "%i", port );
- string source = "udp:@:" + (string)s_port;
- delete[] s_port;
-
- playlist_Add( p_intf->p_sys->p_playlist, (char *)source.c_str(),
- PLAYLIST_APPEND, PLAYLIST_END );
-
- // Refresh interface !
- p_intf->p_sys->p_theme->EvtBank->Get( "playlist_refresh" )
- ->PostSynchroMessage();
- InterfaceRefresh();
-}
-//---------------------------------------------------------------------------