1. 07 May, 2021 2 commits
  2. 06 May, 2021 4 commits
  3. 05 May, 2021 3 commits
  4. 04 May, 2021 3 commits
  5. 30 Apr, 2021 5 commits
    • Daniel Almeida's avatar
      codecs: gstvp9statefulparser: do not carry over segmentation flags · 4900e358
      Daniel Almeida authored and GStreamer Marge Bot's avatar GStreamer Marge Bot committed
      Do not carry over segmentation flags from previous frames. The spec
      says in 7.2.10 that the feature data carry over from previous frames
      if not updated, but the flags do not.
      
      Consider what would happen if a flag B is to depend on a flag A, and
      B carries over as set from another frame. Further consider that A is
      now not set in this particular frame. This leads to the invalid state
      in which flag B is set but flag A isn't.
      
      This might cause the bitstream to be rejected by accelerators down
      the line.
      
      Fix it.
      
      Part-of: <!2203>
      4900e358
    • Seungha Yang's avatar
      d3d11desktopdup: Don't ignore error DXGI_ERROR_UNSUPPORTED · 1039d70d
      Seungha Yang authored
      Although Microsoft's DXGIDesktopDuplication example is considering
      the DXGI_ERROR_UNSUPPORTED as an expected error
      (See https://github.com/microsoft/Windows-classic-samples/tree/master/Samples/DXGIDesktopDuplication)
      it might not be recoverable error if application is
      run against a discrete GPU
      (See https://docs.microsoft.com/en-US/troubleshoot/windows-client/shell-experience/error-when-dda-capable-app-is-against-gpu)
      
      Do early error out if the error happens while opening device,
      instead of retrying it forever.
      
      Part-of: <!2208>
      1039d70d
    • Jakub Adam's avatar
      d3d11desktopdup: Support desktop switches · fb8ed9e5
      Jakub Adam authored and GStreamer Marge Bot's avatar GStreamer Marge Bot committed
      Before creating output duplication interface, call SetThreadDesktop()
      with HDESK of the current input desktop in case a desktop switch has
      occurred.
      
      This allows d3d11desktopdupsrc to capture Windows User Account Control
      (UAC) prompts, which appear on a separate secure desktop. Otherwise
      IDXGIOutput1::DuplicateOutput() will return E_ACCESSDENIED and the
      element won't produce any frames as long as the UAC screen is active.
      
      Note that in order to access secure desktop the application still has to
      run at LOCAL_SYSTEM privileges. For GStreamer applications running with
      regular user privileges this change has no effect.
      
      Part-of: <!2209>
      fb8ed9e5
    • Jakub Adam's avatar
      dxgicapture: reinitialize duplication interface on ERROR_ACCESS_LOST · aac012ce
      Jakub Adam authored and GStreamer Marge Bot's avatar GStreamer Marge Bot committed
      IDXGIOutputDuplication can become invalid for example when there's
      desktop switch, resolution change or Windows User Account Control prompt
      appears on screen.
      
      When that happens, try to re-create the duplication interface for the
      changed output. Note that in the case of UAC prompt this operation will
      fail if the GStreamer process doesn't run at LOCAL_SYSTEM privileges. In
      such situation the source element won't create any frames as long as the
      output is occupied by UAC screen.
      
      In order to enable UAC access to sufficiently privileged GStreamer
      processes, call SetThreadDesktop() with the desktop handle that
      currently receives user input before creating our output duplication.
      
      Part-of: <!2204>
      aac012ce
    • Haihao Xiang's avatar
      msdk: set correct parameters for BGRx frame · 6750123d
      Haihao Xiang authored
      Otherwise when mapping BGRx frame onto CPU's memory, CPU will get wrong
      data for B, G, R components
      
      Part-of: <!2205>
      6750123d
  6. 29 Apr, 2021 2 commits
  7. 28 Apr, 2021 13 commits
  8. 27 Apr, 2021 3 commits
  9. 26 Apr, 2021 2 commits
  10. 23 Apr, 2021 3 commits