Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • release/202005
  • release/202001
  • release/201912
  • release/201911
  • release/releaseWindowsTestOne
  • release/windowsReleaseTest
  • release/releaseTest
  • release/releaseWindowsTest
  • release/201910
  • release/qt/201910
  • release/windows-test/201910
  • release/201908
  • release/201906
  • release/201905
  • release/201904
  • release/201903
  • release/201902
  • release/201901
  • release/201812
  • 4.0.0
  • 2.2.0
  • 2.1.0
  • 2.0.1
  • 2.0.0
  • 1.4.1
  • 1.4.0
  • 1.3.0
  • 1.2.0
  • 1.1.0
30 results

videomanager.cpp

  • Sébastien Blin's avatar
    40ee25ff
    videomanager: protect double video input creation · 40ee25ff
    Sébastien Blin authored
    getVideoInput is called in two different place:
    + openVideoInput from the client
    + VideoRtpSession::startSender() from the daemon
    Nothing is blocking both sides to do it at the same time.
    In this case, two VideoInputs can be created, causing the second
    one to fail because the device is busy (used by the first one)
    and causing weird results (i.e. sometimes the video is not shown).
    
    Change-Id: I23e34a95efe4972fbe111c19f0f0989f5e8ae8a9
    videomanager: protect double video input creation
    Sébastien Blin authored
    getVideoInput is called in two different place:
    + openVideoInput from the client
    + VideoRtpSession::startSender() from the daemon
    Nothing is blocking both sides to do it at the same time.
    In this case, two VideoInputs can be created, causing the second
    one to fail because the device is busy (used by the first one)
    and causing weird results (i.e. sometimes the video is not shown).
    
    Change-Id: I23e34a95efe4972fbe111c19f0f0989f5e8ae8a9
Code owners
Assign users and groups as approvers for specific file changes. Learn more.