Skip to content
Snippets Groups Projects
  1. Feb 26, 2019
  2. Feb 14, 2019
  3. Jan 25, 2019
  4. Jan 17, 2019
  5. Jan 09, 2019
  6. Jan 08, 2019
    • Guillaume Desmottes's avatar
      omxbufferpool: fix race when releasing input buffers · 9dc359d0
      Guillaume Desmottes authored
      If buffers were released from the pool while
      gst_omx_video_enc_handle_frame() was waiting for new buffers,
      gst_omx_port_acquire_buffer() was never awaken as the buffers weren't
      released through OMX's messaging system.
      
      GQueue isn't thread safe so also protect it with the lock mutex.
      9dc359d0
  7. Dec 21, 2018
    • Guillaume Desmottes's avatar
      omxbufferpool: fix early input buffer release · 3828d976
      Guillaume Desmottes authored and Guillaume Desmottes's avatar Guillaume Desmottes committed
      We used to track the 'allocating' status on the pool. It is used while
      allocating so output buffers aren't passed right away to OMX and input
      ones are not re-added to the pending queue.
      
      This was causing a bug when exporting buffers to v4l2src. On start
      v4l2src acquires a buffer, read its stride and release it right away.
      As no buffer was received by the encoder element at this point, 'allocating'
      was still on TRUE and so the the buffer wasn't put back to the pending
      queue and, as result, no longer available to the pool.
      
      Fix this by checking the active status of the pool instead of manually
      tracking it down. The pool is considered as active at the very end of
      the activation process so we're good when buffers are released during
      the activation.
      3828d976
  8. Dec 05, 2018
  9. Nov 26, 2018
  10. Nov 05, 2018
  11. Sep 26, 2018
  12. Sep 19, 2018
  13. Sep 10, 2018
  14. Aug 31, 2018
  15. Aug 30, 2018
Loading