[vlc-devel] [vlc-commits] transcode: add parameter limits for audio

Rémi Denis-Courmont remi at remlab.net
Sat Mar 22 10:18:07 CET 2014


Le samedi 22 mars 2014, 10:54:56 Ilkka Ollakka a écrit :
> On Sat, Mar 22, 2014 at 10:42:52AM +0200, Rémi Denis-Courmont wrote:
> > Le samedi 22 mars 2014, 09:28:28 Ilkka Ollakka a écrit :
> > >                   ACHANS_LONGTEXT, false )
> > > 
> > > +        change_integer_range( 0, 9 )
> > 
> > AOUT_CHAN_MAX ?
> 
> actually limit is pi_channels_maps in audio.c. Maybe thouse channels
> definitions should be added to vlc_es.h or vlc_aout.h as default channel
> count -> channels mapping seemed to be defined in multiple modules.

Codecs do not agree on channels count to channels mask mappings. And some 
codecs have lower limit than VLC has, and some codecs have higher limit than 
VLC has.

The transcode module should probably not have a map at all.

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list