Commit 5d040109 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

goom: force FL32 input

parent c6afc824
......@@ -119,12 +119,6 @@ static int Open( vlc_object_t *p_this )
goom_thread_t *p_thread;
video_format_t fmt;
if( p_filter->fmt_in.audio.i_format != VLC_CODEC_FL32 )
{
msg_Warn( p_filter, "bad input format" );
return VLC_EGENERIC;
}
/* Allocate structure */
p_sys = p_filter->p_sys = malloc( sizeof( filter_sys_t ) );
......@@ -174,6 +168,7 @@ static int Open( vlc_object_t *p_this )
return VLC_EGENERIC;
}
p_filter->fmt_in.audio.i_format = VLC_CODEC_FL32;
p_filter->fmt_out.audio = p_filter->fmt_in.audio;
p_filter->pf_audio_filter = DoWork;
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