Skip to content
  • Andrew de Quincey's avatar
    Application of my localinput patch. This fixes: · feff981d
    Andrew de Quincey authored
    1) Segfaults on closing localinput sources
       The streamer was being deleted before the trickplay module was stopped.
    
    2) Segfaults on closing localinput sources #2
       The streamer must be deleted last -- as it deletes the tsprovider.
    
    3) Hang on closing localinput sources
       The trickplay module was happily filling the C_SyncFifo to the
    brim, and being blocked when it became full. Unfortunately, this
    causes the tsstreamer to hang on shutdown as the consumer has been
    stopped, but not the tsstreamer... I made it set m_bStop, wait for
    a second, and Interrupt the tsstreamer thread in case it is stuck
    in this situation.
    feff981d