Changeset ff373bfcd5372ce83927be8129b1980269048ecb
- Timestamp:
- 07/06/03 18:13:11 (5 years ago)
- git-parent:
- Files:
-
- configure.ac (modified) (2 diffs)
- install-win32 (modified) (2 diffs)
- modules/gui/wxwindows/streamout.cpp (modified) (12 diffs)
- modules/gui/wxwindows/wxwindows.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
configure.ac
r79ddd26 rff373bf 1 1 dnl Autoconf settings for vlc 2 dnl $Id: configure.ac,v 1.2 3 2003/07/03 19:25:51 garfExp $2 dnl $Id: configure.ac,v 1.24 2003/07/06 16:13:10 gbazin Exp $ 3 3 4 4 AC_INIT(vlc,0.6.0) … … 1501 1501 if test "${enable_ffmpeg}" != "no" 1502 1502 then 1503 AC_ARG_WITH(ffmpeg-mp3lame, 1504 [ --with-ffmpeg-mp3lame if ffmpeg has been compiled with mp3lame support], 1505 [ AX_ADD_LDFLAGS([stream_out_transcode],[-lmp3lame]) 1506 AX_ADD_LDFLAGS([ffmpeg],[-lmp3lame]) ]) 1507 1503 1508 AC_ARG_WITH(ffmpeg-tree, 1504 1509 [ --with-ffmpeg-tree=PATH ffmpeg tree for static linking]) install-win32
r7d5b13c rff373bf 6 6 ; CHANGELOG ; 7 7 ;;;;;;;;;;;;; 8 ; modifications by Gildas Bazin <gbazin@netcourrier.com> 01 Mar 2003 9 ; . added a shortcut to the faq in the menu. 8 ; modifications by Gildas Bazin <gbazin@netcourrier.com> 6 Jul 2003 9 ; . Start menu shortcuts now created in the "All Users" section. 10 ; modifications by Gildas Bazin <gbazin@netcourrier.com> 6 Apr 2003 11 ; . added shortcut to the skins interface, added the default skin. 10 12 ; modifications by Gildas Bazin <gbazin@netcourrier.com> 26 Feb 2003 11 13 ; . added the locale directory. … … 34 36 CRCCheck on 35 37 38 SetShellVarContext all 36 39 InstallDir "$PROGRAMFILES\VideoLAN\VLC" 37 40 modules/gui/wxwindows/streamout.cpp
r98de4a2 rff373bf 3 3 ***************************************************************************** 4 4 * Copyright (C) 2000-2001 VideoLAN 5 * $Id: streamout.cpp,v 1. 19 2003/07/04 15:20:49 adn Exp $5 * $Id: streamout.cpp,v 1.20 2003/07/06 16:13:11 gbazin Exp $ 6 6 * 7 7 * Authors: Gildas Bazin <gbazin@netcourrier.com> … … 82 82 enum 83 83 { 84 SAP_ ANNOUNCE= 084 SAP_MISC = 0 85 85 }; 86 86 … … 111 111 AudioTranscEnable_Event, AudioTranscCodec_Event, AudioTranscBitrate_Event, 112 112 113 SAP Type_Event, SAPAddr_Event113 SAPMisc_Event, SAPAddr_Event 114 114 }; 115 115 … … 151 151 EVT_CHECKBOX(AudioTranscEnable_Event, SoutDialog::OnTranscodingEnable) 152 152 EVT_COMBOBOX(VideoTranscCodec_Event, SoutDialog::OnTranscodingChange) 153 EVT_TEXT(VideoTranscCodec_Event, SoutDialog::OnTranscodingChange) 153 154 EVT_COMBOBOX(AudioTranscCodec_Event, SoutDialog::OnTranscodingChange) 155 EVT_TEXT(AudioTranscCodec_Event, SoutDialog::OnTranscodingChange) 154 156 EVT_COMBOBOX(VideoTranscBitrate_Event, SoutDialog::OnTranscodingChange) 157 EVT_TEXT(VideoTranscBitrate_Event, SoutDialog::OnTranscodingChange) 155 158 EVT_COMBOBOX(AudioTranscBitrate_Event, SoutDialog::OnTranscodingChange) 159 EVT_TEXT(AudioTranscBitrate_Event, SoutDialog::OnTranscodingChange) 156 160 157 161 /* Events generated by the misc panel */ 158 EVT_CHECKBOX(SAP Type_Event, SoutDialog::OnSAPTypeChange)162 EVT_CHECKBOX(SAPMisc_Event, SoutDialog::OnSAPMiscChange) 159 163 EVT_TEXT(SAPAddr_Event, SoutDialog::OnSAPAddrChange) 160 164 … … 299 303 if( !dup_opts.IsEmpty() ) dup_opts += wxT(","); 300 304 dup_opts += wxT("dst=std{access=file,mux="); 301 dup_opts += encapsulation + wxT(",url= ");302 dup_opts += file_combo->GetValue() + wxT(" }");305 dup_opts += encapsulation + wxT(",url=\""); 306 dup_opts += file_combo->GetValue() + wxT("\"}"); 303 307 } 304 308 if( access_checkboxes[HTTP_ACCESS_OUT]->IsChecked() ) … … 320 324 dup_opts += wxString::Format( wxT(":%d"), 321 325 net_ports[UDP_ACCESS_OUT]->GetValue() ); 322 } 323 if( access_checkboxes[UDP_ACCESS_OUT]->IsChecked() && misc_checkboxes[SAP_ANNOUNCE]->IsChecked() ) /* SAP only if UDP �*/324 {325 dup_opts += wxT(",sap=");326 dup_opts += misc_addrs[SAP_ANNOUNCE]-> GetLineText(0);327 }328 if( access_checkboxes[UDP_ACCESS_OUT]->IsChecked() )329 { 330 dup_opts += wxT("}"); /* the bracket must be closed after SAP ! */326 327 /* SAP only if UDP */ 328 if( sap_checkbox->IsChecked() ) 329 { 330 dup_opts += wxT(",sap="); 331 dup_opts += sap_addr->GetLineText(0); 332 } 333 334 dup_opts += wxT("}"); 331 335 } 332 336 if( access_checkboxes[RTP_ACCESS_OUT]->IsChecked() ) … … 468 472 // wxFlexGridSizer *sizer = new wxFlexGridSizer( 2, 4, 20 ); 469 473 wxStaticBox *panel_box = new wxStaticBox( panel, -1, 470 wxU(_("Miscellaneous Options")) );474 wxU(_("Miscellaneous Options")) ); 471 475 wxStaticBoxSizer *panel_sizer = new wxStaticBoxSizer( panel_box, 472 476 wxVERTICAL ); 473 477 474 static const wxString misc_output_array[] = 475 { 476 wxU(_("SAP Announce")) 477 }; 478 479 misc_checkboxes[SAP_ANNOUNCE] = new wxCheckBox( panel,SAPType_Event, 480 misc_output_array[SAP_ANNOUNCE] ); 481 misc_subpanels[SAP_ANNOUNCE] = new wxPanel( panel, -1 ); 482 483 /* SAP Row */ 484 478 /* SAP Row */ 485 479 wxStaticText *label; 486 480 wxFlexGridSizer *subpanel_sizer; 487 481 488 subpanel_sizer = new wxFlexGridSizer( 4, 1, 20 ); 489 label = new wxStaticText( misc_subpanels[SAP_ANNOUNCE], -1, wxU(_("Channel Name ")) ); 490 misc_addrs[SAP_ANNOUNCE] = new wxTextCtrl( misc_subpanels[SAP_ANNOUNCE], 491 SAPAddr_Event, 492 wxT(""), wxDefaultPosition, 493 wxSize( 200, -1 ), wxTE_PROCESS_ENTER); 494 495 subpanel_sizer->Add( label, 0, 482 misc_subpanels[SAP_MISC] = new wxPanel( panel, -1 ); 483 subpanel_sizer = new wxFlexGridSizer( 4, 2, 20 ); 484 485 sap_checkbox = new wxCheckBox( misc_subpanels[SAP_MISC], SAPMisc_Event, 486 wxU(_("SAP Announce")) ); 487 label = new wxStaticText( misc_subpanels[SAP_MISC], -1, 488 wxU(_("Channel Name ")) ); 489 sap_addr = new wxTextCtrl( misc_subpanels[SAP_MISC], SAPAddr_Event, 490 wxT(""), wxDefaultPosition, 491 wxSize( 200, -1 ), wxTE_PROCESS_ENTER); 492 493 subpanel_sizer->Add( sap_checkbox, 0, 496 494 wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL ); 497 subpanel_sizer->Add( misc_addrs[SAP_ANNOUNCE], 1, wxEXPAND | 495 subpanel_sizer->Add( label, 0, wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL ); 496 subpanel_sizer->Add( sap_addr, 1, wxEXPAND | 498 497 wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL ); 499 498 500 misc_subpanels[SAP_ANNOUNCE]->SetSizerAndFit( subpanel_sizer ); 501 502 /* Stuff everything into the main panel */ 503 504 panel_sizer->Add( misc_checkboxes[SAP_ANNOUNCE], 0, 499 misc_subpanels[SAP_MISC]->SetSizerAndFit( subpanel_sizer ); 500 501 /* Stuff everything into the main panel */ 502 panel_sizer->Add( misc_subpanels[SAP_MISC], 1, 505 503 wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL | wxALL, 5 ); 506 panel_sizer->Add( misc_subpanels[SAP_ANNOUNCE], 1, 507 wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL | wxALL, 5 ); 508 509 panel->SetSizerAndFit( panel_sizer ); 510 511 /* Update access type panel */ 512 513 misc_checkboxes[SAP_ANNOUNCE]->Disable(); 514 misc_subpanels[SAP_ANNOUNCE]->Disable(); 515 516 return panel; 504 505 panel->SetSizerAndFit( panel_sizer ); 506 507 /* Update misc panel */ 508 misc_subpanels[SAP_MISC]->Disable(); 509 sap_addr->Disable(); 510 511 return panel; 517 512 } 518 513 … … 577 572 wxT("I263"), 578 573 wxT("WMV1"), 574 wxT("WMV2"), 575 wxT("MJPG") 579 576 }; 580 577 static const wxString vbitrates_array[] = … … 617 614 { 618 615 wxT("mpga"), 616 wxT("mp3"), 619 617 wxT("a52") 620 618 }; … … 702 700 { 703 701 case UDP_ACCESS_OUT: 704 { 705 misc_checkboxes[SAP_ANNOUNCE]->Enable( event.GetInt() ); 706 } 702 misc_subpanels[SAP_MISC]->Enable( event.GetInt() ); 703 707 704 case RTP_ACCESS_OUT: 708 705 for( i = 1; i < ENCAPS_NUM; i++ ) … … 721 718 722 719 /***************************************************************************** 723 * SAPType panel event methods. 724 *****************************************************************************/ 725 void SoutDialog::OnSAPTypeChange( wxCommandEvent& event ) 726 { 727 i_sap_type = event.GetId()-SAPType_Event; 728 misc_subpanels[i_sap_type]->Enable( event.GetInt() ); 729 720 * SAPMisc panel event methods. 721 *****************************************************************************/ 722 void SoutDialog::OnSAPMiscChange( wxCommandEvent& event ) 723 { 724 sap_addr->Enable( event.GetInt() ); 730 725 UpdateMRL(); 731 726 } … … 738 733 UpdateMRL(); 739 734 } 740 741 735 742 736 /***************************************************************************** modules/gui/wxwindows/wxwindows.h
r5c6d4e9 rff373bf 3 3 ***************************************************************************** 4 4 * Copyright (C) 1999, 2000 VideoLAN 5 * $Id: wxwindows.h,v 1.3 7 2003/07/04 12:20:32 adn Exp $5 * $Id: wxwindows.h,v 1.38 2003/07/06 16:13:11 gbazin Exp $ 6 6 * 7 7 * Authors: Gildas Bazin <gbazin@netcourrier.com> … … 316 316 void OnMRLChange( wxCommandEvent& event ); 317 317 void OnAccessTypeChange( wxCommandEvent& event ); 318 void OnSAPTypeChange( wxCommandEvent& event );319 318 320 319 /* Event handlers for the file access output */ … … 335 334 void OnTranscodingChange( wxCommandEvent& event ); 336 335 336 /* Event handlers for the misc panel */ 337 void OnSAPMiscChange( wxCommandEvent& event ); 338 337 339 DECLARE_EVENT_TABLE(); 338 340 … … 353 355 354 356 /* Controls for the SAP announces */ 355 wxPanel *misc_subpanels[1]; 356 wxCheckBox *misc_checkboxes[1]; 357 358 int i_sap_type; 359 360 wxTextCtrl *misc_addrs[1]; 357 wxPanel *misc_subpanels[1]; 358 wxCheckBox *sap_checkbox; 359 wxTextCtrl *sap_addr; 361 360 362 361 /* Controls for the encapsulation */
