[vlc-devel] [PATCH] karaoke : setting the output to mono
Sukrit Sangwan
sukritsangwan at gmail.com
Wed Mar 7 19:55:53 CET 2012
Eh you cannot do that. First it leaves some fields in the format in
> inconsistent state.
If you are talking of *fmt_out.audio.i_bitspersample*
I verified it by using msg_Err().. ( msg_Err() method seemed to be easy )
> Second, I'm not sure how the core behaves if a filter
> changes the format... ?
>
I saw similar thing in stereo2mono audio filter.
http://git.videolan.org/?p=vlc.git;a=blob;f=modules/audio_filter/channel_mixer/mono.cline
419..
Firstly i was changing format in the *Process* funcion. It didn't work.
And then i tried it in the *OpenFilter* function.
--
Regards
Sukrit Sangwan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120307/569102dc/attachment.html>
More information about the vlc-devel
mailing list