Set duration based on the pipeline framerate if the OMX camera buffer
Tick Count is 0.