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

Commit 36abb6d3 authored by Lajos Molnar's avatar Lajos Molnar Committed by Gerrit Code Review
Browse files

Merge "stagefright: render video buffers"

parents ee38fad5 a320c7b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ LOCAL_SRC_FILES:= \

LOCAL_SHARED_LIBRARIES := \
	libstagefright libmedia libutils libbinder libstagefright_foundation \
        libjpeg libgui libcutils liblog
        libjpeg libgui libcutils liblog libui

LOCAL_C_INCLUDES:= \
	frameworks/av/media/libstagefright \
+6 −0
Original line number Diff line number Diff line
@@ -342,6 +342,12 @@ static void playSource(OMXClient *client, sp<MediaSource> &source) {
                    printf(".");
                    fflush(stdout);
                }

                // render buffers from OMXCodec
                if (buffer->graphicBuffer() != NULL && gSurface != NULL) {
                    gSurface->queueBuffer(gSurface.get(), buffer->graphicBuffer()->getNativeBuffer(), -1);
                    buffer->meta_data()->setInt32(kKeyRendered, 1);
                }
            }

            sumDecodeUs += delayDecodeUs;