Skip to content

Instantly share code, notes, and snippets.

@updateing
Created October 3, 2016 03:49
Show Gist options
  • Save updateing/33dcc63931faaca3d8dcce7047bca64f to your computer and use it in GitHub Desktop.
Save updateing/33dcc63931faaca3d8dcce7047bca64f to your computer and use it in GitHub Desktop.
diff --git a/media/libstagefright/ACodec.cpp b/media/libstagefright/ACodec.cpp
index eac5abb..4f9a8ae 100644
--- a/media/libstagefright/ACodec.cpp
+++ b/media/libstagefright/ACodec.cpp
@@ -6019,6 +6019,7 @@ void ACodec::BaseState::onInputBufferFilled(const sp<AMessage> &msg) {
status_t err2 = OK;
switch (metaType) {
+ case kMetadataBufferTypeCameraSource:
case kMetadataBufferTypeInvalid:
break;
#ifndef OMX_ANDROID_COMPILE_AS_32BIT_ON_64BIT_PLATFORMS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment