libstagefright: support for disabling buffer metadata

- Metada mode video recording is enabled by default.
- use setprop debug.camcorder.disablemeta 1 to disable metadata mode recording.

Change-Id: I422c49c0ace0c3a3e1f4459c7e4bf29e70af763a
libstagefright: support for disabling buffer metadata

- Metadata mode video recording is enabled by default.
- use setprop debug.camcorder.disablemeta 1 to disable metadata mode recording.

Ported from jellybean (was Change-Id: I8ce90e633b262c5b2d1c9d7e367b7b5487b6d1b4)

http://review.cyanogenmod.org/#/c/22404/

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I422c49c0ace0c3a3e1f4459c7e4bf29e70af763a
Fix build error from commit 3da446303432e640c4c8240bbb2404f7c5dad97d

frameworks/av/media/libmediaplayerservice/StagefrightRecorder.cpp:1465:20:
error: 'PROPERTY_VALUE_MAX' was not declared in this scope
frameworks/av/media/libmediaplayerservice/StagefrightRecorder.cpp:1466:57:
error: 'value' was not declared in this scope
frameworks/av/media/libmediaplayerservice/StagefrightRecorder.cpp:1466:70:
error: 'property_get' was not declared in this scope
make: *** [/android/mydroid-cm10/out/target/product/xt926/obj/
SHARED_LIBRARIES/libmediaplayerservice_intermediates/StagefrightRecorder.o]
Error 1

Change-Id: I346300231f977082314b05e09184ea519b50c719