Commit 3d94fe87 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

SMF: channels data (stereo) and dummy rate to not confuse codecs

parent 1cbb7548
......@@ -231,6 +231,10 @@ static int Open (vlc_object_t * p_this)
es_format_t fmt;
es_format_Init (&fmt, AUDIO_ES, VLC_FOURCC('M', 'I', 'D', 'I'));
fmt.audio.i_channels = 2;
fmt.audio.i_original_channels = fmt.audio.i_physical_channels =
AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT;
fmt.audio.i_rate = 44100; /* dummy value */
p_sys->es = es_out_Add (p_demux->out, &fmt);
return VLC_SUCCESS;
......
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