[vlc-devel] [PATCH 2/2] Add support for the new Android JellyBean MediaCodec API

Martin Storsjö martin at martin.st
Tue Sep 25 23:40:07 CEST 2012


On Tue, 25 Sep 2012, Luca Barbato wrote:

> On 09/24/2012 10:45 PM, Rémi Denis-Courmont wrote:
>> I don't think cluttering configure.ac makes sense for something that cannot be 
>> compiled from the main repository. Some clueless idiots _will_ enable it and 
>> some other people _will_ have their time wasted doing support...
>> 
>> Also, I think you really need some CPP macro, C++ template, code generator or 
>> whatever else fits, to factorize the heavily self-duplicating marshalling 
>> code...
>
> Could you please point exactly where? the C++ variant of jni is hardly
> any less verbose in my experience...

He didn't mean using the C++ variant of JNI, but using some sort of 
macros/templating/code generator/whatever to reduce the amount of 
verbosity in the code, to make it easier to read and write.

I'll try to think about ways of doing that.

// Martin


More information about the vlc-devel mailing list