Skip to content
  • Nicolas Dufresne's avatar
    v4l2videodec: Handle flush while in start_streaming · 7df99f74
    Nicolas Dufresne authored and Nicolas Dufresne's avatar Nicolas Dufresne committed
    We need to handle the case where a flush occure while the streaming
    thread is being brought up. In this case, the flushing state of the poll
    object is cleared. To solve this, we simply set the capture poll to flushing
    again, this way we know the thread will exit. The decoder streamlock
    is used to synchronize with handle frame.
    7df99f74