summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2014-04-24 09:05:33 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2014-04-24 09:05:33 -0700
commitaf072387706558c0fc1f4f2233879be062a808eb (patch)
tree2949b4c7e65bdc8dd532d9b5abe226523e69a6e9
parenteedac24dab93fb31bf71de53075e184b43d83740 (diff)
parent0e8f203774864ef550445d951e2191dd9fb6fe96 (diff)
downloadandroid_hardware_qcom_media-af072387706558c0fc1f4f2233879be062a808eb.tar.gz
android_hardware_qcom_media-af072387706558c0fc1f4f2233879be062a808eb.tar.bz2
android_hardware_qcom_media-af072387706558c0fc1f4f2233879be062a808eb.zip
Merge "mm-video: vdec : Avoid updating stride in flushing state"
-rw-r--r--mm-video/vidc/vdec/src/omx_vdec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm-video/vidc/vdec/src/omx_vdec.cpp b/mm-video/vidc/vdec/src/omx_vdec.cpp
index 5bb28a8c..55ac1bbb 100644
--- a/mm-video/vidc/vdec/src/omx_vdec.cpp
+++ b/mm-video/vidc/vdec/src/omx_vdec.cpp
@@ -7158,7 +7158,7 @@ OMX_ERRORTYPE omx_vdec::fill_buffer_done(OMX_HANDLETYPE hComp,
}
// update buffer stride so display can interpret the buffer correctly
- if (m_use_smoothstreaming) {
+ if (m_use_smoothstreaming && !output_flush_progress) {
OMX_U32 buf_index = buffer - m_out_mem_ptr;
private_handle_t * handle = NULL;
BufferDim_t dim;