[vlc-devel] [PATCH] android: Implement pipe2

Rafaël Carré rafael.carre at gmail.com
Mon Sep 5 23:36:07 CEST 2011

Le Tue, 6 Sep 2011 00:20:33 +0300,
"Rémi Denis-Courmont" <remi at remlab.net> a écrit :

> I don't care for/against this patch.
> However, compiling on a newer platform SDK version than the minimum
> run-time platform version is a loosing game. It is supposed to be
> done the other way around on most operating systems, evidently
> including Android.

To sum it up, we want to build 2.3 headers to enable opensles aout.

But Xilasz only has a 2.2 phone so he needs the binary to run on 2.2

On 2.2 we use the amem aout which was written in vlc-android.git
This aout is incompatible with the amem aout written (by you) in

So in vlc-jb.git, and now vlc-ports/android.git, which are the trees
where i'm working (android.git is vlc-jb.git with correct history), VLC
just crashes on 2.2 anyway

So the correct fix for me is:

- buy a phone running 2.3 to Xilasz
- or teach him how to upgrade his phone
=> make VLC require 2.3 as minimum

OTOH 50% of users are running 2.2 according to

So if someone comes up with a list of ABI changes between 2.2 & 2.3
that would be awesome so we could emulate all changes and support 2.2
at the same time.

> For your own sake, DO NOT DO IT. You were warned.
> The only OS that got that half-right was Win32 with _WIN32_WINNT.
> But even that does not work quite right (e.g. with GNU/autoconf).

Rafaël Carré

More information about the vlc-devel mailing list