1. 19 12月, 2016 2 次提交
    • C
      UI: Add import/export of scene collections & profiles · 9f0c48d9
      cg2121 提交于
      Closes jp9000/obs-studio#721
      9f0c48d9
    • R
      UI: Add ability to copy-paste scene item transforms · 42a646f2
      Ryan Foster 提交于
      This commit adds the ability to copy a scene item's transform and crop
      settings and paste those settings onto another scene item in any scene
      or scene collection. It also changes the menu shortcut key for the
      Transform action "Center to screen" from "C" to "n" because "C" is the
      standard shortcut key for "Copy" in most other applications.
      
      Closes jp9000/obs-studio#719
      42a646f2
  2. 18 12月, 2016 10 次提交
    • S
      UI: Make close button default in transform dialog · ee019c77
      SuslikV 提交于
      Improves ease of use.
      
      Closes jp9000/obs-studio#731
      ee019c77
    • A
      libobs/graphics: Fix the 2D vector dot product func · 0ff4feab
      Autumin 提交于
      The operators were unintentionally reversed.
      
      Closes jp9000/obs-studio#724
      0ff4feab
    • S
      obs-ffmpeg: Don't allow 32kb/s with FFmpeg AAC encoder · 0d5a23d5
      shiina424 提交于
      FFmpeg's AAC encoder is unideal at very low bitrates.
      
      Closes jp9000/obs-studio#722
      0d5a23d5
    • J
      libobs: Fix line size issue when copying Y800 data · 53955301
      jp9000 提交于
      53955301
    • J
      libobs: Fix format not being set for new source frames · 919aecfd
      jp9000 提交于
      With the previous Y800 fix a bug was introduced where the format for the
      destination frame wouldn't be set if it wasn't Y800, causing a crash.
      919aecfd
    • M
      UI: Use dedicated GPU on Hybrid AMD GPU systems · db7632e7
      Michael Fabian Dirks 提交于
      This enables use of the dedicated GPUs for AMD PowerXpress systems.
      Especially important for Adapter selection, as usually the dedicated GPU
      is hidden/inactive until needed.
      
      Closes jp9000/obs-studio#706
      db7632e7
    • J
      libobs: Convert Y800 to RGBX manually · 85269fb5
      jp9000 提交于
      Because D3D11 specifically does not support an L8 texture format (you
      have to use a shader swizzle), manually convert Y800 signals to RGBX
      instead.  This also fixes a bug where Y800 signals will render red.
      
      Closes jp9000/obs-studio#718
      85269fb5
    • J
      Merge pull request #716 from flash0110/ui_fix-frontend-api-scene-added · 4b8411fa
      Jim 提交于
      UI: Fix frontend-api event call for adding scenes
      4b8411fa
    • J
      UI: Remove deleteLater view from filter window layout · 580f38a7
      jp9000 提交于
      In the filters dialog, when the properties are being updated due to
      filters being added/removed/switched, using deleteLater on the previous
      view would cause it to linger in the view until the deleteLater is
      processed by the Qt queue, displaying two views instead of one.
      Additionally because of that, this would also cause the display in the
      filters dialog to resize as well, causing the reorder mutex hard lock
      which was fixed by the parent commit.
      
      Closes jp9000/obs-studio#714
      580f38a7
    • J
      libobs: Fix possible reverse order mutex hard lock · e541e170
      jp9000 提交于
      For displays, instead of using the draw_callbacks_mutex and risk a
      reverse mutual lock scenario, use a separate mutex to lock display size
      data.
      
      This bug was exposed when trying to reorder filters in the UI module.
      The UI thread would try to reorder the filters, locking the filter mutex
      of the source, and then the reorder would signal the UI to resize the
      display, so the display would lock its draw_callbacks_mutex.  Then, in
      the graphics thread, it would lock the display's draw_callbacks_mutex,
      try to draw the source, and then the source would try to lock that same
      filter mutex.
      
      A mutex trace:
      UI thread -> lock source filter mutex -> waiting on display mutex
      graphics thread -> lock display mutex -> waiting on source filter mutex
      
      Closes jp9000/obs-studio#714
      e541e170
  3. 17 12月, 2016 14 次提交
  4. 16 12月, 2016 8 次提交
    • J
      win-capture: Use wide strings for named objects · b5f216ef
      jp9000 提交于
      Prevents from having to mix ansi/wide string usage for opening UWP
      programs.
      b5f216ef
    • J
      win-capture: Remove redundant function · c63bb17b
      jp9000 提交于
      This function now already exists elsewhere -- open_event_plus_id.
      c63bb17b
    • J
      win-capture: Don't use "Local\" for game capture shared mem · ec4c05f4
      jp9000 提交于
      The "Local\" prefix effectively does nothing.
      ec4c05f4
    • J
      win-capture: Create all named objects within hook · ab9bda52
      jp9000 提交于
      All named objects (including file mapped shared memory) need to be
      created within the hook itself due to the fact that UWP programs cannot
      access named objects outside of the UWP process.
      
      Because shared memory needs to be created within the hook, the capture
      loop cannot start until the shared memory has been filled with valid
      data.  Creating an additional "initialize" event fixes this issue.
      
      Additionally, changed the way that named kernel objects are
      opened/created.  Before, there were functions that would first try to
      open named objects and then implicitly create them if opening failed
      (assuming that if the hook didn't create it first, game capture would),
      now it's been changed so that you can only either explicitly open or
      create.
      ab9bda52
    • J
      win-capture: Use window for keepalive check · d1934244
      jp9000 提交于
      To check to make sure game capture is still active in the capture
      program, it currently uses a named event, and then it checks to see if
      that named event exists.  However with UWP programs, you can't open a
      named event outside of the UWP process.  FindWindow on the other hand
      does work, so instead of checking to see if a named kernel object
      exists, create a window and check to see if that window exists.
      d1934244
    • J
      win-capture: Fix getting proper UWP window handles · 1e48b522
      jp9000 提交于
      The "main" windows detected for UWP programs are basically to help
      sandbox the programs -- they run in the ApplicationFrameHost process and
      help reduce the possibility of other programs trying to access the
      actual process window, which is a child window.
      
      To bypass this, go through the list of child windows for the
      ApplicationFrameHost window, and then find the one that's attached to
      a different process; that different process will always be the target,
      and will allows us to open the actual process of the UWP program.
      1e48b522
    • J
      win-capture: Do not require pipe/mutex within hook · 4ec10337
      jp9000 提交于
      Named pipes cannot be used within UWP programs, so make them optional.
      4ec10337
    • J
      win-capture: Always use minimal access rights within hook · 746061fb
      jp9000 提交于
      This prevents issues with opening handles to objects within UWP
      programs, which have increased security limitations.
      746061fb
  5. 13 12月, 2016 1 次提交
  6. 12 12月, 2016 1 次提交
  7. 10 12月, 2016 3 次提交
    • J
      UI: Add file prefix/suffix options for replay buffer · ec60ab9b
      jp9000 提交于
      Adds the ability to use a specific prefix and/or suffix on replay buffer
      filenames to distinguish them from normal recordings.  Defaults to
      having the prefix "Replay".
      ec60ab9b
    • J
      UI: Separate replay buffer from recording · f790d0fe
      jp9000 提交于
      Replay buffer and recording should be separate in case the user wants to
      start recording from a specific point rather being forced to reconfigure
      for regular recording.
      
      Creates a new button on the main window below the recording button for
      turning on/off the replay buffer.
      f790d0fe
    • J
      UI: Clarify replay buf. hotkey error message · 8f36d122
      jp9000 提交于
      It should specify that the user specifically needs to set the "save"
      hotkey, not just "the replay buffer hotkey".
      8f36d122
  8. 08 12月, 2016 1 次提交