aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWeian Chen <weian.chen@intel.com>2012-02-13 08:56:37 -0500
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:02:46 -0700
commit9e3816c0e9d748e7384607dd4b2aeeba31fd6d22 (patch)
treebcbeeb5715efa2771b52c8936325bd9ce7cc5c32
parent6bc8d027bb46c0638d26b3f755350b84f6325de3 (diff)
downloadandroid_hardware_intel_common_omx-components-9e3816c0e9d748e7384607dd4b2aeeba31fd6d22.tar.gz
android_hardware_intel_common_omx-components-9e3816c0e9d748e7384607dd4b2aeeba31fd6d22.tar.bz2
android_hardware_intel_common_omx-components-9e3816c0e9d748e7384607dd4b2aeeba31fd6d22.zip
omx-components: fix one avi file can't be played issue - specific MPEG-4 in avi
BZ: 23236 A workaround (part of fix) to enable multiple-frame package MPEG-4:2 video Signed-off-by: Weian Chen <weian.chen@intel.com> Change-Id: I4872de6c654c3b1e73ee8fefd3caf07e31768dcd Reviewed-on: http://android.intel.com:8080/35041 Reviewed-by: Liang, Dan <dan.liang@intel.com> Reviewed-by: Ding, Haitao <haitao.ding@intel.com> Tested-by: Ding, Haitao <haitao.ding@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
-rw-r--r--videocodec/OMXVideoDecoderBase.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/videocodec/OMXVideoDecoderBase.cpp b/videocodec/OMXVideoDecoderBase.cpp
index 5d06df8..745753d 100644
--- a/videocodec/OMXVideoDecoderBase.cpp
+++ b/videocodec/OMXVideoDecoderBase.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#define LOG_NDEBUG 0
+//#define LOG_NDEBUG 0
#define LOG_TAG "OMXVideoDecoderBase"
#include <utils/Log.h>
#include "OMXVideoDecoderBase.h"
@@ -372,8 +372,10 @@ OMX_ERRORTYPE OMXVideoDecoderBase::ProcessorProcess(
TranslateDecodeStatus(status);
((*pBuffers[OUTPORT_INDEX]))->nFilledLen = 0;
- retains[OUTPORT_INDEX] = BUFFER_RETAIN_GETAGAIN;
- return OMX_ErrorNone;
+
+ // Do not return, and try to drain the output queue
+ // retains[OUTPORT_INDEX] = BUFFER_RETAIN_GETAGAIN;
+ // return OMX_ErrorNone;
}
}
}