1. 09 May, 2014 4 commits
    • Vittorio Giovara's avatar
      logger: remove code from header · dd399350
      Vittorio Giovara authored
      The macro was only used in one place.
      
      Refs #47561
      Change-Id: Ie70dc835a6b2ebe8bc25ce1b22cc86bc78ab5fde
      dd399350
    • Tristan Matthews's avatar
      video: do threading via composition not inheritance · b912714a
      Tristan Matthews authored
      Rationale: it's easier to reason about the thread lifecycle. The new
      ThreadLoop class has the same API as the old SFLThread class, but wraps
      an std::thread instead of a pthread, exits on exceptional errors via an
      exception and calls its owner's methods via function handles (setup,
      process and cleanup)
      
      Refs #47343
      
      Change-Id: Ie1eec81ec53cdc5bb6f00a89a916c5c8f9abeb4f
      b912714a
    • Vivien Didelot's avatar
      daemon: remove the VideoCodec class · fbc862ee
      Vivien Didelot authored
      As we may want to have independent implementations for decoders and
      encoders, we should not inherit VideoDecoder and VideoEncoder from an
      abstract libav/ffmpeg-specific class.
      
      This commit removes the VideoCodec class, and make VideoDecoder and
      VideoEncoder primitive classes.
      
      In the meantime, move defaults to header in
      Video{Encoder,Decoder,Sender} classes, remove unused args_ and id_
      members of VideoSender.
      
      Also, the VideoSenderException has been dropped in favor of a
      VideoEncoderException, directly managed in the VideoEncoder class.
      
      Refs #46837
      
      Change-Id: Ic6f05a86c078aa5055c138e3029e3b06cf076dfd
      fbc862ee
    • Tristan Matthews's avatar
      video: use enum class instead of magic numbers · 7d1c0621
      Tristan Matthews authored
      Refs #47261
      
      Change-Id: I4b2d0c02b91cbee13f2b99618255cdc761419a8d
      7d1c0621
  2. 08 May, 2014 3 commits
    • Tristan Matthews's avatar
      sip: fix use after free · 5223686b
      Tristan Matthews authored
      Destroy transport before endpoint
      
      Refs #47274
      
      Change-Id: Iaba055b652084b560afd36b74862adc18b8fcf7e
      5223686b
    • Tristan Matthews's avatar
      audiortp: fix use after free · 350b06c9
      Tristan Matthews authored
      Member objects are destroyed in the reverse order of how they're
      declared in the class. To ensure that our thread is not using any
      other member variables which may have already been freed, it must
      be declared last.
      
      Refs #47263
      
      Change-Id: I176bc2ef9d9650ab16166dbf5fef35526f2a71fa
      350b06c9
    • Tristan Matthews's avatar
      video: switchPending_ should be atomic · 2b7ce0a9
      Tristan Matthews authored
      Change-Id: I7661f00075eb31ac594aaa09104f2ca9aa7ab79d
      VideoInput::process() is in fact running in a separate thread
      2b7ce0a9
  3. 07 May, 2014 7 commits
  4. 06 May, 2014 6 commits
  5. 05 May, 2014 16 commits
  6. 02 May, 2014 4 commits