[vlc-devel] [RFC] dcp: Audio channels reordering

Nicolas Bertrand nicoinattendu at gmail.com
Mon Dec 9 22:18:25 CET 2013


Le 09/12/2013 10:45, Denis Charmet a écrit :
> This assumes that CF_CFG_1 is 0, CF_CFG_2 is 1 and CF_CFG_3 is 2. Since
> you have no control over it I'd rather an assert or a #if CF_CFG_1 != 0
> [...] #error DCP header changed.
>> >+                p_sys->pi_chan_table );

Huum actually your rmk implies a possible bug in asdcp lib
CF_CFG_1 = 1 and there are a CF_NONE=0 ...
But asdcplib always returns CF_NONE whatever the number channels.
I sent a mail to asdcp devs.
Maybe a woarkaround would be to use the number of channels to know the 
correct channel mapping. SMPTE 428-3 defines 7 cases : 1, 2, 4, 6, 7 8 9 
channels.






More information about the vlc-devel mailing list