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

visual: force FL32 input and set output format

parent 5d909d68
......@@ -178,11 +178,6 @@ static int Open( vlc_object_t *p_this )
char *psz_effects, *psz_parser;
video_format_t fmt;
if( p_filter->fmt_in.audio.i_format != VLC_CODEC_FL32 )
{
return VLC_EGENERIC;
}
p_sys = p_filter->p_sys = malloc( sizeof( filter_sys_t ) );
if( unlikely (p_sys == NULL ) )
return VLC_EGENERIC;
......@@ -308,6 +303,8 @@ 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