iomx-dr: don't always lock buffers from dequeue
According to OMXCodec.cpp, we shouldn't call lockBuffer when we first allocate
all buffers, since we may cancel some of them (the min_undequeued ones).
We should call lockBuffer only before giving a buffer to OMX.
Signed-off-by:
Martin Storsjö <martin@martin.st>
Showing
- modules/codec/omxil/iomx_hwbuffer.c 14 additions, 2 deletionsmodules/codec/omxil/iomx_hwbuffer.c
- modules/codec/omxil/omxil.c 11 additions, 2 deletionsmodules/codec/omxil/omxil.c
- modules/codec/omxil/omxil_core.c 2 additions, 0 deletionsmodules/codec/omxil/omxil_core.c
- modules/codec/omxil/omxil_core.h 1 addition, 0 deletionsmodules/codec/omxil/omxil_core.h
Loading
Please register or sign in to comment