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

video_input_selector.cpp

Blame
    • Vivien Didelot's avatar
      52bb4c5d
      daemon: (VideoInputSelector) use MRL · 52bb4c5d
      Vivien Didelot authored
      This patch moves the video source parsing logic from the VideoInput
      class to the VideoInputSelector. Thus the VideoInput class is simpler
      and only deals with libav input.
      
      The VideoInputSelector class now takes as its switchInput() parameter
      (and thus the constructor parameter) a media resource locator (MRL) as
      commonly used by video players such as VLC.
      
      Currently, "v4l2://" and "display://" schemes are supported.
      
      The DBus API and documentation are updated accordingly.
      
      In the meantime, this fixes the confusion (and thus a bug) with a camera
      having a ':' char in its name, which was resulting in using the x11grab
      format.
      
      Refs: #45480
      52bb4c5d
      History
      daemon: (VideoInputSelector) use MRL
      Vivien Didelot authored
      This patch moves the video source parsing logic from the VideoInput
      class to the VideoInputSelector. Thus the VideoInput class is simpler
      and only deals with libav input.
      
      The VideoInputSelector class now takes as its switchInput() parameter
      (and thus the constructor parameter) a media resource locator (MRL) as
      commonly used by video players such as VLC.
      
      Currently, "v4l2://" and "display://" schemes are supported.
      
      The DBus API and documentation are updated accordingly.
      
      In the meantime, this fixes the confusion (and thus a bug) with a camera
      having a ':' char in its name, which was resulting in using the x11grab
      format.
      
      Refs: #45480
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.