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

Commit f677f7c2 authored by guochuang's avatar guochuang
Browse files

modify "dataspace" prints ambiguously.



dataspace usually printed as 0x*(%#x).

Test: build & boot
Change-Id: Ibe0766749b44fe9a08a932755dcc085a5360855a
Signed-off-by: default avatarguochuang <guochuang@xiaomi.corp-partner.google.com>
parent 76da8de7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -589,7 +589,7 @@ status_t GraphicBufferSource::onInputBufferEmptied(codec_buffer_id bufferId, int


void GraphicBufferSource::onDataspaceChanged_l(
void GraphicBufferSource::onDataspaceChanged_l(
        android_dataspace dataspace, android_pixel_format pixelFormat) {
        android_dataspace dataspace, android_pixel_format pixelFormat) {
    ALOGD("got buffer with new dataSpace #%x", dataspace);
    ALOGD("got buffer with new dataSpace %#x", dataspace);
    mLastDataspace = dataspace;
    mLastDataspace = dataspace;


    if (ColorUtils::convertDataSpaceToV0(dataspace)) {
    if (ColorUtils::convertDataSpaceToV0(dataspace)) {