Commit 9586a683 authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/wxwindows/streamout.cpp: removed avi muxer + added wav muxer and a few more codecs.

parent f813caa8
......@@ -65,7 +65,7 @@ enum
EncapsulationRadio3_Event, EncapsulationRadio4_Event,
EncapsulationRadio5_Event, EncapsulationRadio6_Event,
EncapsulationRadio7_Event, EncapsulationRadio8_Event,
EncapsulationRadio9_Event,
EncapsulationRadio9_Event, EncapsulationRadio10_Event,
VideoTranscEnable_Event, VideoTranscCodec_Event, VideoTranscBitrate_Event,
VideoTranscScale_Event,
......@@ -297,6 +297,9 @@ void SoutDialog::UpdateMRL()
case ASF_ENCAPSULATION:
encapsulation = wxT("asf");
break;
case WAV_ENCAPSULATION:
encapsulation = wxT("wav");
break;
case TS_ENCAPSULATION:
default:
encapsulation = wxT("ts");
......@@ -588,15 +591,15 @@ wxPanel *SoutDialog::EncapsulationPanel( wxWindow* parent )
wxT("MPEG PS"),
wxT("MPEG 1"),
wxT("Ogg"),
wxT("Raw"),
wxT("ASF"),
wxT("AVI"),
wxT("MP4"),
wxT("MOV")
wxT("MOV"),
wxT("WAV"),
wxT("Raw")
};
/* Stuff everything into the main panel */
for( i=0; i < ENCAPS_NUM; i++ )
for( i = 0; i < WXSIZEOF(encapsulation_array); i++ )
{
encapsulation_radios[i] =
new wxRadioButton( panel, EncapsulationRadio1_Event + i,
......@@ -605,6 +608,13 @@ wxPanel *SoutDialog::EncapsulationPanel( wxWindow* parent )
wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL |
wxALL, 4 );
}
/* Hide avi one */
for( i = WXSIZEOF(encapsulation_array); i < ENCAPS_NUM; i++ )
{
encapsulation_radios[i] =
new wxRadioButton( panel, EncapsulationRadio1_Event + i, wxT("") );
encapsulation_radios[i]->Hide();
}
panel->SetSizerAndFit( panel_sizer );
......@@ -710,12 +720,15 @@ wxPanel *SoutDialog::TranscodingPanel( wxWindow* parent )
static const wxString wxacodecs_array[] =
{
wxT("mpga"),
wxT("mp2a"),
wxT("mp3"),
wxT("mp4a"),
wxT("a52"),
wxT("vorb"),
wxT("flac"),
wxT("spx")
wxT("spx"),
wxT("s16l"),
wxT("fl32")
};
static const wxString achannels_array[] =
{
......
......@@ -518,11 +518,12 @@ enum
PS_ENCAPSULATION,
MPEG1_ENCAPSULATION,
OGG_ENCAPSULATION,
RAW_ENCAPSULATION,
ASF_ENCAPSULATION,
AVI_ENCAPSULATION,
MP4_ENCAPSULATION,
MOV_ENCAPSULATION,
WAV_ENCAPSULATION,
RAW_ENCAPSULATION,
AVI_ENCAPSULATION,
ENCAPS_NUM
};
......
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