Changeset 8aa24cfe361b893a626016211e05f41c544f5c1b
- Timestamp:
- 05/22/03 14:00:57 (5 years ago)
- git-parent:
- Files:
-
- INSTALL.win32 (modified) (2 diffs)
- modules/access/cdda.c (modified) (2 diffs)
- modules/access/vcd/cdrom.c (modified) (2 diffs)
- modules/access/vcd/vcd.c (modified) (2 diffs)
- modules/gui/wxwindows/interface.cpp (modified) (2 diffs)
- modules/gui/wxwindows/streamout.cpp (modified) (7 diffs)
- src/misc/cpu.c (modified) (2 diffs)
- src/stream_output/announce.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
INSTALL.win32
r3a0e5d2 r8aa24cf 1 $Id: INSTALL.win32,v 1.1 4 2003/05/17 23:57:35gbazin Exp $1 $Id: INSTALL.win32,v 1.15 2003/05/22 12:00:56 gbazin Exp $ 2 2 3 3 INSTALL file for the Windows9x/Me/NT4/2k/XP version of the VLC media player … … 46 46 is that vlc depends on a lot of 3rd party libraries and building them in 47 47 MSVC is not convenient and sometimes even impossible. 48 ( NOTE: if you want to run vlc under the msvc debugger, you need to run it 49 with the --fast-mutex --win9x-cv-method=1 options because the debugger 50 usually loses signals sent by PulseEvent() ) 48 51 49 52 - or on Linux, using the mingw32 cross-compiler. modules/access/cdda.c
r467f7bc r8aa24cf 3 3 ***************************************************************************** 4 4 * Copyright (C) 2000 VideoLAN 5 * $Id: cdda.c,v 1. 3 2003/05/19 20:47:16 gbazin Exp $5 * $Id: cdda.c,v 1.4 2003/05/22 12:00:56 gbazin Exp $ 6 6 * 7 7 * Authors: Laurent Aimar <fenrir@via.ecp.fr> … … 118 118 vcddev_t *vcddev; 119 119 120 #ifdef WIN32121 /* On Win32 we want the CDDA access plugin to be explicitly requested,122 * we end up with lots of problems otherwise */123 if( !p_input->psz_access || !*p_input->psz_access ) return( -1 );124 #endif125 126 120 /* parse the options passed in command line : */ 127 121 psz_orig = psz_parser = psz_source = strdup( p_input->psz_name ); modules/access/vcd/cdrom.c
rdceb5b6 r8aa24cf 3 3 ***************************************************************************** 4 4 * Copyright (C) 1998-2001 VideoLAN 5 * $Id: cdrom.c,v 1.1 1 2003/05/18 15:44:03gbazin Exp $5 * $Id: cdrom.c,v 1.12 2003/05/22 12:00:57 gbazin Exp $ 6 6 * 7 7 * Authors: Johan Bilien <jobi@via.ecp.fr> … … 102 102 */ 103 103 #ifdef WIN32 104 if( strlen( psz_dev ) == 1 || 105 (strlen( psz_dev ) == 2 && psz_dev[1] == ':') ) 104 if( (strlen( psz_dev ) == 2 && psz_dev[1] == ':') ) 106 105 { 107 106 b_is_file = 0; modules/access/vcd/vcd.c
rdceb5b6 r8aa24cf 3 3 ***************************************************************************** 4 4 * Copyright (C) 2000 VideoLAN 5 * $Id: vcd.c,v 1.2 1 2003/05/18 15:44:03gbazin Exp $5 * $Id: vcd.c,v 1.22 2003/05/22 12:00:57 gbazin Exp $ 6 6 * 7 7 * Author: Johan Bilien <jobi@via.ecp.fr> … … 104 104 vcddev_t *vcddev; 105 105 106 #ifdef WIN32107 /* On Win32 we want the VCD access plugin to be explicitly requested,108 * we end up with lots of problems otherwise */109 if( !p_input->psz_access || !*p_input->psz_access ) return( -1 );110 #endif111 112 106 /* parse the options passed in command line : */ 113 107 psz_orig = psz_parser = psz_source = strdup( p_input->psz_name ); modules/gui/wxwindows/interface.cpp
r5cd4178 r8aa24cf 3 3 ***************************************************************************** 4 4 * Copyright (C) 2000-2001 VideoLAN 5 * $Id: interface.cpp,v 1.3 1 2003/05/20 23:17:59gbazin Exp $5 * $Id: interface.cpp,v 1.32 2003/05/22 12:00:56 gbazin Exp $ 6 6 * 7 7 * Authors: Gildas Bazin <gbazin@netcourrier.com> … … 846 846 for( size_t i = 0; i < filenames.GetCount(); i++ ) 847 847 playlist_Add( p_playlist, (const char *)filenames[i].mb_str(), 848 PLAYLIST_APPEND | i ? 0 : PLAYLIST_GO, PLAYLIST_END );848 PLAYLIST_APPEND | (i ? 0 : PLAYLIST_GO), PLAYLIST_END ); 849 849 850 850 vlc_object_release( p_playlist ); modules/gui/wxwindows/streamout.cpp
r5cd4178 r8aa24cf 3 3 ***************************************************************************** 4 4 * Copyright (C) 2000-2001 VideoLAN 5 * $Id: streamout.cpp,v 1.1 3 2003/05/20 23:17:59gbazin Exp $5 * $Id: streamout.cpp,v 1.14 2003/05/22 12:00:56 gbazin Exp $ 6 6 * 7 7 * Authors: Gildas Bazin <gbazin@netcourrier.com> … … 169 169 wxStaticText *mrl_label = new wxStaticText( panel, -1, 170 170 wxU(_("Destination Target:"))); 171 mrl_combo = new wxComboBox( panel, MRL_Event, mrl,171 mrl_combo = new wxComboBox( panel, MRL_Event, wxT(""), 172 172 wxPoint(20,25), wxSize(120, -1), 0, NULL ); 173 173 mrl_combo->SetToolTip( wxU(_("You can use this field directly by typing " … … 216 216 main_sizer->Layout(); 217 217 SetSizerAndFit( main_sizer ); 218 219 /* Update all the values */220 //ParseMRL();221 218 } 222 219 … … 321 318 322 319 if( !transcode.IsEmpty() || !duplicate.IsEmpty() ) 323 mrl = wxT("#") + transcode + duplicate;320 mrl_combo->SetValue( wxT("#") + transcode + duplicate ); 324 321 else 325 mrl = wxT(""); 326 327 mrl_combo->SetValue( mrl ); 322 mrl_combo->SetValue( wxT("") ); 328 323 } 329 324 … … 584 579 } 585 580 586 #if 0587 void SoutDialog::ParseMRL()588 {589 /* Initialise MRL value */590 char *psz_sout = config_GetPsz( p_intf, "sout" );591 if( psz_sout )592 {593 mrl = wxU(psz_sout);594 free( psz_sout );595 }596 597 /* Parse the MRL */598 wxString access = mrl.BeforeFirst( wxT('/') );599 wxString encapsulation = mrl.BeforeFirst( wxT(':') ).AfterFirst(wxT('/'));600 601 if( !access.Cmp( wxT("http") ) )602 {603 i_access_type = HTTP_ACCESS_OUT;604 }605 else if( !access.Cmp( wxT("udp") ) )606 {607 i_access_type = UDP_ACCESS_OUT;608 }609 else if( !access.Cmp( wxT("rtp") ) )610 {611 i_access_type = RTP_ACCESS_OUT;612 }613 else614 {615 i_access_type = FILE_ACCESS_OUT;616 }617 618 if( !encapsulation.Cmp( wxT("ps") ) )619 {620 i_encapsulation_type = PS_ENCAPSULATION;621 }622 else if( !encapsulation.Cmp( wxT("avi") ) )623 {624 i_encapsulation_type = AVI_ENCAPSULATION;625 }626 else if( !encapsulation.Cmp( wxT("ogg") ) )627 {628 i_encapsulation_type = OGG_ENCAPSULATION;629 }630 else631 {632 i_encapsulation_type = TS_ENCAPSULATION;633 }634 635 wxString second_part = mrl.AfterFirst( wxT(':') );636 637 if( i_access_type == FILE_ACCESS_OUT )638 {639 /* The whole second part of the MRL is the filename */640 file_combo->SetValue( second_part );641 }642 else643 {644 /* we've got address:port */645 wxString address = second_part.BeforeLast( wxT(':') );646 net_addr->SetValue( address );647 648 long int i_port;649 wxString port = second_part.AfterLast( wxT(':') );650 if( port.ToLong( &i_port ) )651 {652 net_port->SetValue( i_port );653 }654 else655 {656 net_port->SetValue( config_GetInt( p_intf, "server-port" ) );657 }658 }659 660 /* Update access output panel */661 wxCommandEvent dummy_event;662 dummy_event.SetId( AccessType1_Event + i_access_type );663 OnAccessTypeChange( dummy_event );664 665 /* Update encapsulation output panel */666 dummy_event.SetId( EncapsulationRadio1_Event + i_encapsulation_type );667 OnEncapsulationChange( dummy_event );668 }669 #endif670 671 581 /***************************************************************************** 672 582 * Events methods. … … 674 584 void SoutDialog::OnOk( wxCommandEvent& WXUNUSED(event) ) 675 585 { 586 mrl_combo->Append( mrl_combo->GetValue() ); 587 mrl = mrl_combo->GetValue(); 676 588 EndModal( wxID_OK ); 677 589 } … … 684 596 void SoutDialog::OnMRLChange( wxCommandEvent& event ) 685 597 { 686 mrl = event.GetString();598 //mrl = event.GetString(); 687 599 } 688 600 src/misc/cpu.c
rade615b r8aa24cf 3 3 ***************************************************************************** 4 4 * Copyright (C) 1998-2002 VideoLAN 5 * $Id: cpu.c,v 1.1 0 2002/12/06 16:34:08 samExp $5 * $Id: cpu.c,v 1.11 2003/05/22 12:00:57 gbazin Exp $ 6 6 * 7 7 * Authors: Samuel Hocevar <sam@zoy.org> … … 286 286 return i_capabilities; 287 287 288 #elif defined( _MSC_VER ) 289 i_capabilities |= CPU_CAPABILITY_FPU; 290 return i_capabilities; 291 288 292 #else 289 293 /* default behaviour */ src/stream_output/announce.c
rb8443a2 r8aa24cf 85 85 addr.sin_port = htons( SAP_PORT ); 86 86 87 setsockopt( p_new->socket, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl) ); 87 setsockopt( p_new->socket, IPPROTO_IP, IP_MULTICAST_TTL, 88 (void*)&ttl, sizeof(ttl) ); 88 89 89 p_new->addr =(struct sockaddr_in)addr;90 p_new->addr = addr; 90 91 91 92 return(p_new);
