author | Nikhil Devshatwar <nikhil.nd@ti.com> | |
Mon, 30 Jun 2014 11:14:00 +0000 (16:44 +0530) | ||
committer | Nikhil Devshatwar <nikhil.nd@ti.com> | |
Mon, 30 Jun 2014 11:18:44 +0000 (16:48 +0530) | ||
commit | 2790ef8ac9815220f9f80a10c34b38744a9df14c | |
tree | 78f5be68375af5da4e2d1082313f8495daeb2410 | tree | snapshot (tar.xz tar.gz zip) |
parent | d59b663d52aec3fd257ed686fe94834bdadc8a2a | commit | diff |
utils: Wait after the buffer is posted
In utils library, post_*_buffer functions call the display specific
implementation and calls the maintain_playback_rate to force the FPS
The wait call should happen *after* the buffers are posted, not before
Correct this
This ensures that the buffer is not reused again immediately after
posting for display.
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
In utils library, post_*_buffer functions call the display specific
implementation and calls the maintain_playback_rate to force the FPS
The wait call should happen *after* the buffers are posted, not before
Correct this
This ensures that the buffer is not reused again immediately after
posting for display.
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
util/util.c | diff | blob | history |