Commit e5e8ecb2 authored by gbazin's avatar gbazin
Browse files

* modules/gui/wxwindows/streamout.cpp: fixed selection of codec.

parent 7eaa3759
...@@ -635,6 +635,7 @@ wxPanel *SoutDialog::TranscodingPanel( wxWindow* parent ) ...@@ -635,6 +635,7 @@ wxPanel *SoutDialog::TranscodingPanel( wxWindow* parent )
wxT("DIV2"), wxT("DIV2"),
wxT("DIV3"), wxT("DIV3"),
wxT("H263"), wxT("H263"),
wxT("h264"),
wxT("I263"), wxT("I263"),
wxT("WMV1"), wxT("WMV1"),
wxT("WMV2"), wxT("WMV2"),
...@@ -675,7 +676,7 @@ wxPanel *SoutDialog::TranscodingPanel( wxWindow* parent ) ...@@ -675,7 +676,7 @@ wxPanel *SoutDialog::TranscodingPanel( wxWindow* parent )
video_transc_checkbox = video_transc_checkbox =
new wxCheckBox( panel, VideoTranscEnable_Event, wxU(_("Video codec"))); new wxCheckBox( panel, VideoTranscEnable_Event, wxU(_("Video codec")));
video_codec_combo = video_codec_combo =
new wxComboBox( panel, VideoTranscCodec_Event, wxT(""), new wxComboBox( panel, VideoTranscCodec_Event, wxvcodecs_array[2],
wxPoint(20,25), wxDefaultSize, wxPoint(20,25), wxDefaultSize,
WXSIZEOF(wxvcodecs_array), WXSIZEOF(wxvcodecs_array),
wxvcodecs_array, wxCB_READONLY ); wxvcodecs_array, wxCB_READONLY );
...@@ -740,7 +741,7 @@ wxPanel *SoutDialog::TranscodingPanel( wxWindow* parent ) ...@@ -740,7 +741,7 @@ wxPanel *SoutDialog::TranscodingPanel( wxWindow* parent )
audio_transc_checkbox = audio_transc_checkbox =
new wxCheckBox( panel, AudioTranscEnable_Event, wxU(_("Audio codec"))); new wxCheckBox( panel, AudioTranscEnable_Event, wxU(_("Audio codec")));
audio_codec_combo = audio_codec_combo =
new wxComboBox( panel, AudioTranscCodec_Event, wxT(""), new wxComboBox( panel, AudioTranscCodec_Event, wxacodecs_array[0],
wxPoint(10,25), wxDefaultSize, wxPoint(10,25), wxDefaultSize,
WXSIZEOF(wxacodecs_array), WXSIZEOF(wxacodecs_array),
wxacodecs_array, wxCB_READONLY ); wxacodecs_array, wxCB_READONLY );
...@@ -759,7 +760,7 @@ wxPanel *SoutDialog::TranscodingPanel( wxWindow* parent ) ...@@ -759,7 +760,7 @@ wxPanel *SoutDialog::TranscodingPanel( wxWindow* parent )
wxStaticText *channels_label = wxStaticText *channels_label =
new wxStaticText( panel, -1, wxU(_("Channels"))); new wxStaticText( panel, -1, wxU(_("Channels")));
audio_channels_combo = audio_channels_combo =
new wxComboBox( panel, AudioTranscChans_Event, wxT(""), new wxComboBox( panel, AudioTranscChans_Event, achannels_array[1],
wxPoint(10,25), wxDefaultSize, wxPoint(10,25), wxDefaultSize,
WXSIZEOF(achannels_array), achannels_array ); WXSIZEOF(achannels_array), achannels_array );
audio_channels_combo->SetSelection(1); audio_channels_combo->SetSelection(1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment