1. 12 Apr, 2023 2 commits
    • Release sample pipelines before asset loaders · 78669f87
      The video asset loader renders decoder output to a surface texture, and if the
      video sample pipeline is in the process of updating the surface texture image
      at the moment when the asset loader video decoder is released this seems to
      cause `MediaCodec.release` to get stuck.
      
      Swap the release order so that we stop updating the texture before trying to
      release the codec.
      
      PiperOrigin-RevId: 523401619
      andrewlewis committed
    • Improve error logging · eac4b536
      Log at debug level immediately when MediaCodec throws. This logging will be
      output closer to the time when the error actually happened so should make it
      easier to identify the order of components failing.
      
      Downgrade logging of errors after export ends to warning level, as output may
      still be fine if there was a problem after exporting completed (though it's
      still worth logging a warning as the device may not be in a good state).
      
      PiperOrigin-RevId: 523370457
      andrewlewis committed
  2. 11 Apr, 2023 8 commits
  3. 05 Apr, 2023 20 commits
  4. 30 Mar, 2023 10 commits