<br><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Eh you cannot do that. First it leaves some fields in the format in<br>
inconsistent state. </blockquote><div><br>
If you are talking of <b>fmt_out.audio.i_bitspersample</b><br>I verified it by using msg_Err().. ( msg_Err() method seemed to be easy )<br><br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Second, I'm not sure how the core behaves if a filter<br>
changes the format... ? <br>
</blockquote></div><br>I saw similar thing in stereo2mono audio filter.<br>

<a href="http://git.videolan.org/?p=vlc.git;a=blob;f=modules/audio_filter/channel_mixer/mono.c" target="_blank">http://git.videolan.org/?p=vlc.git;a=blob;f=modules/audio_filter/channel_mixer/mono.c</a> line 419..<br>

<br>

Firstly i was changing format in the <b>Process</b> funcion. It didn't work.<br>

And then i tried it in the <b>OpenFilter</b> function.<br><br clear="all"><br>-- <br><div>Regards<br>Sukrit Sangwan</div>
<br>