Skip to content
Snippets Groups Projects
  1. Sep 12, 2022
    • Alexandre Janniaux's avatar
      input: decoder: add cc.lock for sub-decoders · ac7f9ce2
      Alexandre Janniaux authored and Steve Lhomme's avatar Steve Lhomme committed
      
      Sub-decoders are decoders whose state is defined by previous decoders.
      Specifically in the current case, picture frames with specific SEI data
      can convey subtitles as closed captions and report them from the decoder
      implementation itself.
      
      Since the core never locks the implementation, and the implementation
      can be asynchronously reporting subtitles, a common lock need to be
      setup so that the core can then check and use the sub-decoders being
      created without racing against the upper decoder implementation.
      
      Co-authored-by: default avatarFrançois Cartegnie <fcvlcdev@free.fr>
      ac7f9ce2
    • Alexandre Janniaux's avatar
      input: decoder: use vlc_input_decoder_Flush for CC · 3dd0f548
      Alexandre Janniaux authored and Steve Lhomme's avatar Steve Lhomme committed
      Separate the early return to make it clear that what follows require a
      valid closed-caption decoder.
      
      Then, use vlc_input_decoder_Flush directly, because pf_flush must be
      called from the CC decoder thread, and the fifo must be flushed
      beforehand, instead of calling it directly.
      3dd0f548
    • Alexandre Janniaux's avatar
      test: add vlc_input_decoder test · a6c3e3c6
      Alexandre Janniaux authored and Steve Lhomme's avatar Steve Lhomme committed
      The test provides an infrastructure based on previous transcode tests
      and video output tests, that will serve as basis for other
      input_decoder.c tests.
      a6c3e3c6
    • Johannes Kauffmann's avatar
      contrib: qt: fix string comparison · ec672174
      Johannes Kauffmann authored and Steve Lhomme's avatar Steve Lhomme committed
      -eq is for comparing integers and prints errors like:
      
      install_wrapper.sh: 27: [: Illegal number: imageformats
      ec672174
  2. Sep 10, 2022
  3. Sep 09, 2022
Loading