diff options
-rw-r--r-- | media/libstagefright/OMXCodec.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/media/libstagefright/OMXCodec.cpp b/media/libstagefright/OMXCodec.cpp index c149379..26989c1 100644 --- a/media/libstagefright/OMXCodec.cpp +++ b/media/libstagefright/OMXCodec.cpp @@ -315,6 +315,10 @@ uint32_t OMXCodec::getComponentQuirks( quirks |= kRequiresAllocateBufferOnOutputPorts; } if (list->codecHasQuirk( + index, "requires-flush-before-shutdown")) { + quirks |= kRequiresFlushBeforeShutdown; + } + if (list->codecHasQuirk( index, "output-buffers-are-unreadable")) { quirks |= kOutputBuffersAreUnreadable; } |