Loading media/libstagefright/ACodec.cpp +8 −9 Original line number Diff line number Diff line Loading @@ -1866,7 +1866,7 @@ status_t ACodec::configureCodec( mFlags |= kFlagIsGrallocUsageProtected; mFlags |= kFlagPushBlankBuffersToNativeWindowOnShutdown; } } if (mFlags & kFlagIsSecure) { // use native_handles for secure input buffers err = setPortMode(kPortIndexInput, IOMX::kPortModePresetSecureBuffer); Loading @@ -1877,7 +1877,6 @@ status_t ACodec::configureCodec( err = OK; // ignore error for now } } } if (haveNativeWindow) { sp<ANativeWindow> nativeWindow = static_cast<ANativeWindow *>(static_cast<Surface *>(obj.get())); Loading Loading
media/libstagefright/ACodec.cpp +8 −9 Original line number Diff line number Diff line Loading @@ -1866,7 +1866,7 @@ status_t ACodec::configureCodec( mFlags |= kFlagIsGrallocUsageProtected; mFlags |= kFlagPushBlankBuffersToNativeWindowOnShutdown; } } if (mFlags & kFlagIsSecure) { // use native_handles for secure input buffers err = setPortMode(kPortIndexInput, IOMX::kPortModePresetSecureBuffer); Loading @@ -1877,7 +1877,6 @@ status_t ACodec::configureCodec( err = OK; // ignore error for now } } } if (haveNativeWindow) { sp<ANativeWindow> nativeWindow = static_cast<ANativeWindow *>(static_cast<Surface *>(obj.get())); Loading