Skip to content
Snippets Groups Projects
  1. Feb 08, 2025
  2. Feb 07, 2025
  3. Feb 06, 2025
    • Thomas Guillem's avatar
      pipewire: don't drain empty streams · beecec04
      Thomas Guillem authored
      Fixes the following assert when seeking more than one time past the end of
      the file.
      
      src/audio_output/dec.c:1107: vlc_aout_stream_Drain: Assertion `!atomic_load_explicit(&stream->drained, memory_order_relaxed)' failed.
      
      Calling `pw_stream_flush(s->stream, true)`, when empty, leads to
      undefined behavior and might cause the `stream_drained()` callback to be
      called in loop (leading to the mentioned assert after a flush).
      beecec04
    • Thomas Guillem's avatar
      chroma: chain: use chroma_probe · 3a325614
      Thomas Guillem authored
      Remove the not up to date pi_allowed_chromas. Use directly the
      vlc_chroma_probe.h API to get the list of chroma fallbacks.
      
      Remove recursivity handling:
      
      Before, the chain module could load an other chain module for
      conversions requiring an extra step (OPAQUE -> I420 -> RV24 for
      example).
      
      Now that the conversion list is acquired from start, we can add each
      converter filters in an iterative loop.
      3a325614
Loading