1. 09 6月, 2019 1 次提交
  2. 04 6月, 2019 2 次提交
  3. 02 6月, 2019 5 次提交
  4. 01 6月, 2019 3 次提交
  5. 31 5月, 2019 3 次提交
  6. 29 5月, 2019 4 次提交
  7. 25 5月, 2019 2 次提交
  8. 24 5月, 2019 3 次提交
  9. 23 5月, 2019 5 次提交
  10. 22 5月, 2019 1 次提交
    • J
      libobs: Pair encoders only when output actually starts · 3699209c
      jp9000 提交于
      Normally, paired encoders are unpaired when they stop.  However, if the
      pairing occurs before the encoders actually start, and the encoders
      never actually end up starting, they are never unpaired, and that
      pairing stays with them until the next time an output is started up
      again.  That in turn can cause an output that uses one of the encoders
      but not the other to not function correctly, and neither properly
      "start" nor stop because the data is queued continually in the
      interleaved packet array.
      
      For example, let's say there are two outputs, two video encoders, and
      one audio encoder.  This can be reproduced by using advanced output mode
      and making the two outputs use separate video encoders while sharing
      track 1's audio encoder.  If you start up the stream output first and it
      fails to fully connect for whatever reason (bad server, bad stream key,
      etc), then you start up the recording output, the recording output will
      appear to be running, but will not stop when you hit "stop recording".
      It will stay perpetually on "stopping recording" and will get stuck that
      way.  This is because when the streaming output started, the streaming
      output would initially pair video encoder A with audio encoder A before
      the encoders actually fully started up (as the encoders do not fully
      start up until a connection is successfully made), and when the
      recording output starts up after that disconnection, audio encoder A
      will wait for video encoder A rather than video encoder B because that
      pairing was never actually cleared.
      
      So, instead of pairing encoders when the output starts, wait until the
      encoders themselves are being started and then pair the encoders at that
      point in time.  This ensures that the encoders start up and will clear
      their pairing when no longer in use.
      3699209c
  11. 21 5月, 2019 2 次提交
  12. 20 5月, 2019 2 次提交
  13. 19 5月, 2019 5 次提交
  14. 18 5月, 2019 2 次提交