Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f39c9de8 authored by Ray Essick's avatar Ray Essick Committed by Automerger Merge Worker
Browse files

Merge "libstagefright: modify "dataspace" prints ambiguously" am: 8f51caff

parents fc63d96b 8f51caff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4700,7 +4700,7 @@ void MediaCodec::handleOutputFormatChangeIfNeeded(const sp<MediaCodecBuffer> &bu
        // rendering.
        int32_t dataSpace;
        if (mOutputFormat->findInt32("android._dataspace", &dataSpace)) {
            ALOGD("[%s] setting dataspace on output surface to #%x",
            ALOGD("[%s] setting dataspace on output surface to %#x",
                    mComponentName.c_str(), dataSpace);
            int err = native_window_set_buffers_data_space(
                    mSurface.get(), (android_dataspace)dataSpace);
+1 −1
Original line number Diff line number Diff line
@@ -441,7 +441,7 @@ skip_copying:
                    ((dataSpace & ~HAL_DATASPACE_RANGE_MASK) | HAL_DATASPACE_RANGE_FULL);
        }

        ALOGD("setting dataspace on output surface to #%x", dataSpace);
        ALOGD("setting dataspace on output surface to %#x", dataSpace);
        if ((err = native_window_set_buffers_data_space(mNativeWindow.get(), dataSpace))) {
            ALOGW("failed to set dataspace on surface (%d)", err);
        }