Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
build
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
lf
build
Commits
742b972e
Commit
742b972e
authored
11 years ago
by
Linux Build Service Account
Committed by
Gerrit - the friendly Code Review server
11 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Don't let OMXCodec undequeue any buffers"
parents
a2ff605c
8c3ae1b4
No related branches found
Branches containing commit
Tags
AU_LINUX_GECKO_ICS_STRAWBERRY.01.01.00.019.093
AU_LINUX_GECKO_ICS_STRAWBERRY.01.01.00.019.096
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
patch/ics_strawberry/frameworks/base/0001-Don-t-let-OMXCodec-undequeue-any-buffers.patch
+29
-0
29 additions, 0 deletions
.../base/0001-Don-t-let-OMXCodec-undequeue-any-buffers.patch
with
29 additions
and
0 deletions
patch/ics_strawberry/frameworks/base/0001-Don-t-let-OMXCodec-undequeue-any-buffers.patch
0 → 100644
+
29
−
0
View file @
742b972e
From fc86ffdf0ebf519fc9847a686e151719e55f7487 Mon Sep 17 00:00:00 2001
From: Diego Wilson <dwilson@codeaurora.org>
Date: Fri, 10 May 2013 10:26:27 -0700
Subject: [PATCH] Don't let OMXCodec undequeue any buffers
The gecko multimedia framework can not use any
undequeued buffers that the native window holds.
Change-Id: I7941f66976fca2493389e1dbe783dcec35c2ea73
---
media/libstagefright/OMXCodec.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/media/libstagefright/OMXCodec.cpp b/media/libstagefright/OMXCodec.cpp
index 65f911f..e876151 100755
--- a/media/libstagefright/OMXCodec.cpp
+++ b/media/libstagefright/OMXCodec.cpp
@@ -2812,7 +2812,7 @@
status_t OMXCodec::allocateOutputBuffersFromNativeWindow() {
cancelEnd = mPortBuffers[kPortIndexOutput].size();
} else {
// Return the last two buffers to the native window.
- cancelStart = def.nBufferCountActual - minUndequeuedBufs;
+ cancelStart = def.nBufferCountActual;
cancelEnd = def.nBufferCountActual;
}
--
1.7.8.3
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment