1. 24 3月, 2015 10 次提交
  2. 23 3月, 2015 30 次提交
    • J
      decklink: Fix log message · 2e1eb4d7
      jp9000 提交于
      2e1eb4d7
    • J
      decklink: Don't use error log if not supported · 716ef61c
      jp9000 提交于
      Using LOG_ERROR here isn't really necessary, it just means that there's
      no blackmagic support.
      716ef61c
    • J
      libobs: Prevent video cache clear on first frame · ebee6709
      jp9000 提交于
      Fix a bug where when a source first starts up its async cache, it
      unintentionally resets its cache, which means that the first few frames
      would be lost.
      ebee6709
    • J
      win-capture: Rename 'Monitor' to 'Display' capture · 2d5c6dfa
      jp9000 提交于
      The name 'Monitor' is a bit inconsistent with what it's called by the
      operating system.
      2d5c6dfa
    • J
      win-dshow: Change avermedia encoder names · 5247434d
      jp9000 提交于
      5247434d
    • J
      win-dshow: Fix bad settings causing frozen video · 24053f4a
      jp9000 提交于
      If the settings are reset to defaults or if the settings are just bad,
      the video would get stuck on the last frame that was displayed, which
      feels a bit awkward.  Best to make it stop video output entirely rather
      than get stuck on the last video frame.
      24053f4a
    • J
      win-dshow: Make devices active by default · d5631dd1
      jp9000 提交于
      Having devices not active by default may cause confusion for some users.
      d5631dd1
    • J
      UI: Add int/float slider to property view · 81d671f1
      jp9000 提交于
      81d671f1
    • J
      UI: Add floating point slider control · 17adf8f3
      jp9000 提交于
      17adf8f3
    • K
      UI: Fix potential memory leak in properties · dac3fd88
      kc5nra 提交于
      When hitting the Cancel button, cleanup code needs to go through the
      reject() callback as well.
      dac3fd88
    • J
      UI: Clear list boxes in ::closeEvent · 87965fa9
      jp9000 提交于
      Ensures that ->deleteLater events are put in to the event queue before
      the destructor is called.
      87965fa9
    • J
      UI: Flush event queue before obs_shutdown · 6b3d30ef
      jp9000 提交于
      Sometimes events with rogue source references are in the event queue
      when the program is shutting down.  This can cause the program to
      reference freed data.  Processing those remaining events before shutting
      down solves the issue.
      6b3d30ef
    • J
      UI: Destroy save timer before closing main window · c4ef2522
      jp9000 提交于
      This prevents the save timer from unexpectedly going off during the
      middle of the save process.
      c4ef2522
    • J
      UI: Make list selection in dark theme more visible · 70140761
      jp9000 提交于
      When an item is selected but not focused, it would be too similar to the
      non-selected color.
      70140761
    • J
      UI: Store proper window pos/size · 363d8b89
      jp9000 提交于
      Only store the last restored (non-maximized and non-minimized) window
      position and size on exit.
      363d8b89
    • J
      mac-capture: If channels above 8, force to stereo · f3104d92
      jp9000 提交于
      Certain devices (particularly certain mixers and soundflower 64ch) would
      have an arbitrary number of channels, and wouldn't really be mappable to
      a specific speaker layout supported by libobs.
      
      So to fix this issue, if the channel count is above 8, force the data to
      stereo to ensure playback can still occur, rather than cause it to just
      fail.
      f3104d92
    • J
      libobs: Use locale-independent double conversion · d44d3b1f
      jp9000 提交于
      Prevents issues on specific locales, especially where decimal points are
      represented by commas rather than periods.
      d44d3b1f
    • J
      libobs: Use alpha when rendering scenes · 4abae186
      jp9000 提交于
      This is just in case a filter is applied to a scene, filters will turn
      off the blending so it's necessary to set the blending.
      4abae186
    • J
      libobs: Add int/float slider properties · 0a8e3a64
      jp9000 提交于
      This optionally specifies that the int/float value should be displayed
      with a slider rather than and up/down control.  UIs are not necessarily
      required to implement it, it's meant to be more of a hint.
      0a8e3a64
    • J
      Make capture sources w/o alpha use opaque effect · e20ec366
      jp9000 提交于
      This fixes an issue primarily with filter rendering: when capturing
      windows and displays, their alpha channel is almost always 0, causing
      the image to be completely invisible unintentionally.  The original fix
      for this for many sources was just to turn off the blending, which would
      be fine if you're not rendering any filters, but filters will render to
      render targets first, and that lack of alpha will end up carrying over
      in to the final image.
      
      This doesn't apply to any mac captures because mac actually seems to set
      the alpha channel to 1.
      e20ec366
    • J
      libobs: Add obs_get_opaque_effect function · 9b238ef7
      jp9000 提交于
      This returns a common effect useful for rendering an image with the
      alpha channel overridden to 1.0.
      9b238ef7
    • J
      libobs: Fix default negative int/float shader vals · e4305d14
      jp9000 提交于
      If negative was specified it would not parse the negative sign and thus
      would not interpret that number as negative, and would cause
      shader/effect parsing to simply fail on the file.
      e4305d14
    • J
      libobs: Add functions to push/pop blend states · cdb27ac0
      jp9000 提交于
      This is particularly important for the filter pipeline in order to
      ensure that when the last filter is reached that the original blend
      state is properly reset.
      cdb27ac0
    • J
      linux-capture: Mark captures as custom drawn · 23300463
      jp9000 提交于
      The linux window and monitor captures draw in a custom way, therefore
      they must be marked as types of sources that do custom rendering.
      23300463
    • J
      libobs: Cache effects to prevent shader duplicates · 699201a0
      jp9000 提交于
      Switching between shaders often can cause a performance hit, so cache
      effects so that they persist until the graphics subsystem is destroyed.
      699201a0
    • J
      libobs-opengl: Fix bug switching render targets · 2abf7b05
      jp9000 提交于
      If a render target was switched from one to another and then back
      consecutively, the texture would not get reattached at the last point
      due to the fact that the cur_render_target variable of the FBO storage
      structure would already be set to that texture, and then it would never
      get reattached because it thought it was already using that render
      target.
      
      So to fix this, any time a render target legitimately changes from one
      to another, it sets the cur_render_target and cur_zstencil_buffer
      variables of the FBO structure to null.
      2abf7b05
    • J
      libobs-opengl: Do not fail if shader param unused · 86e56a5c
      jp9000 提交于
      I encountered a scenario where effects might reference shader parameters
      that may not potentially exist, this isn't particularly a bad thing that
      needs to return failure.  It just needs to gracefully ignore it.
      86e56a5c
    • J
      libobs-opengl: Fix render targets being flipped · 2fa37a1f
      jp9000 提交于
      When render targets are used, they output to the render target inverted
      due to the way that opengl works.  This fixes that issue by inverting
      the projection matrix so that it renders the image upside down and
      inverting the front face from counterclockwise to clockwise.
      2fa37a1f
    • J
      libobs-opengl: Assign texture units to shader vars · 84d16fed
      jp9000 提交于
      Texture units were not being properly associated with the shader uniform
      variables.
      84d16fed
    • J
      test-input: Fix potential lockup in test filter · 2a06beea
      jp9000 提交于
      obs_leave_graphics() may not be properly called if this returns null for
      whatever reason.
      2a06beea