1. 11 9月, 2015 6 次提交
    • J
      UI: Implement stream delay · f592c33e
      jp9000 提交于
      When stream delay is active, the "Start/Stop Streaming" button is
      changed in to a menu button, which allows the user to select either the
      option to stop the stream (which causes it to count down), or forcibly
      stop the stream (which immediately stops the stream and cuts off all
      delayed data).
      
      If the user decides they want to start the stream again while in the
      process of counting down, they can safely do so without having to wait
      for it to stop, and it will schedule it to start up again with the same
      delay after the stop.
      
      On the status bar, it will now show whether delay is active, and its
      duration.  If the stream is in the process of stopping/starting, it will
      count down to the stop/start.
      
      If the option to preserve stream cutoff point on unexpected
      disconnections/reconnections is enabled, it will update the current
      delay duration accordingly.
      f592c33e
    • J
      UI: Add stream delay options to advanced settings · d1293b2b
      jp9000 提交于
      I added stream delay options to advanced settings not just because I
      feel it's an advanced option, but also to reduce clutter in the outputs
      section and its sub-sections, which already have far too many options as
      it is.
      d1293b2b
    • J
      libobs: Add encoded output delay support · 05388655
      jp9000 提交于
      This feature allows a user to delay an output (as long as the output
      itself supports it).  Needless to say this intended for live streams,
      where users may want to delay their streams to prevent stream sniping,
      cheating, and other such things.
      
      The design this time was a bit more elaborate, but still simple in
      design:  the user can now schedule stops/starts without having to wait
      for the stream itself to stop before being able to take any action.
      Optionally, they can also forcibly stop stream (and delay) in case
      something happens which they might not want to be streamed.
      
      Additionally, a new option was added to preserve stream cutoff point on
      disconnections/reconnections, so that if you get disconnected while
      streaming, when it reconnects, it will reconnect right at the point
      where it left off.  This will probably be quite useful for a number of
      applications in addition to regular delay, such as setting the delay to
      1 second and then using this feature to minimize, for example, a
      critical stream such as a tournament stream from getting any of its
      stream data cut off.  However, using this feature will of course cause
      the stream data to buffer and increase delay (and memory usage) while
      it's in the process of reconnecting.
      05388655
    • J
      libobs: Add activate/deactivate output signals · 582ecdab
      jp9000 提交于
      Indicates when an output is considered active/inactive.
      582ecdab
    • J
      Revert "UI: Add confirmation when clicking stop stream" · 84d5938a
      jp9000 提交于
      This reverts commit a508c17f.
      
      I realized that this would become more of an annoyance for most people
      rather than anything helpful.  This has only happened only twice that I
      am aware of in all the years that the program has been around.
      84d5938a
    • J
      Merge pull request #474 from hwdro/ng-fix · b5c35ad7
      Jim 提交于
      obs-filters: Fix noise-gate calculation errors
      b5c35ad7
  2. 09 9月, 2015 1 次提交
    • H
      obs-filters: Fix noise-gate calculation errors · fc19d9d1
      hwdro 提交于
      For both cases the cur_level calculations were "wrong". For one channel
      case, I assume that was only an oversight, as for two channels case
      cur_level "calculation", getting the level from downmixing to mono will
      result in an attenuated level than expected. One solution is to use the
      highest level of both channels to drive the gate.
      fc19d9d1
  3. 08 9月, 2015 3 次提交
    • P
      libobs/util: Restore original code point · b2714fa3
      Palana 提交于
      This was broken in cd222f8c which had a
      horrible commit message that makes replicating the issue impossible if
      there weren't others who reported similar visual studio issues when
      using a Japanese locale
      b2714fa3
    • J
      UI: Use a default size for the properties window · 4c3394f7
      jp9000 提交于
      When I changed the properties window to remove the .ui file, I forgot to
      give it a default initial size.  This just sets it to 720x580 by
      default.
      4c3394f7
    • J
      UI: Prevent writing endlessly repeating log entries · c23c0f46
      jp9000 提交于
      Limits similar log entries (determined by a simple hash function that
      sums the characters) to certain number of lines in a row.  When a
      different log entry occurs, it resets the repeat check and logs how many
      times the last message was repeated.
      c23c0f46
  4. 07 9月, 2015 6 次提交
  5. 06 9月, 2015 2 次提交
  6. 31 8月, 2015 1 次提交
  7. 30 8月, 2015 1 次提交
    • J
      win-capture: Use correct variable for system modules · 13d22645
      jp9000 提交于
      ..This is rather embarrassing.  I used the parameter variable and the
      actual variable that I wanted to used went completely unused.  Would
      static analysis catch something like this, I wonder?  Would probably
      have to be really good static analysis.
      13d22645
  8. 29 8月, 2015 4 次提交
  9. 28 8月, 2015 2 次提交
    • J
      libobs/media-io: Improve audio data logging · ff6cf508
      jp9000 提交于
      This improves logging for when audio data insertion is way out of bounds
      or is getting cut off in the front due to a bad negative sync offset.
      
      Instead of throwing out a log message for every time this happens with
      each piece of data, it now states when the out of bounds or cutoff has
      started and stopped only.
      ff6cf508
    • J
      libobs/media-io: Fix potential crash inserting audio · 26303710
      jp9000 提交于
      This fixes a case where an insertion of audio data would pass
      valid_timestamp_range yet the insert position would cause a negative
      integer position and thus an unsigned integer overflow.
      26303710
  10. 27 8月, 2015 3 次提交
  11. 24 8月, 2015 2 次提交
  12. 22 8月, 2015 7 次提交
    • J
      deps/file-updater: Fix warning · 4a767e01
      jp9000 提交于
      4a767e01
    • J
      UI: Use saving functions for profiles/scenes · ebf3abf0
      jp9000 提交于
      Replaces all the json/config loading/saving functions with safe
      variants to reduce the chance of potential file corruption as much as
      possible.
      
      Also does a minor refactor of json writing by using
      obs_data_save_json_safe for writing json files instead of manually using
      obs_data_get_json and os_quick_write_utf8 each time.
      ebf3abf0
    • J
      libobs: Add obs_data funcs for safe file handling · e479d4d0
      jp9000 提交于
      obs_data_create_from_json_file_safe: Attempts to create an obs_data
      object from a file, and if that fails and a backup file exists, deletes
      the old file and tries to open it again.
      
      obs_data_save_json_safe: Saves json data to a temporary file first,
      optionally backs up the target file if the file exists and backup_ext is
      valid (otherwise deletes it), and then renames the temporary file to the
      target file.  This helps reduce the chance of json corruption on save.
      e479d4d0
    • J
      libobs: Add obs_data_save_json function · 40988f7e
      jp9000 提交于
      We keep having to repeat code for saving the json data to a file, so add
      a helper function to help clean up some of that code.
      40988f7e
    • J
      libobs: Don't return valid obs_data if json fails · dd9107db
      jp9000 提交于
      If obs_data_create_from_json fails on loading the json data, do not
      return a valid data object; return NULL instead.
      dd9107db
    • J
      libobs/util: Add config_save_safe function · f29431d8
      jp9000 提交于
      This safely saves a configuration file, optionally with a backup.
      f29431d8
    • J
      libobs/util: Add os_quick_write_utf8_file_safe · 3a77ac35
      jp9000 提交于
      This helper function saves to a temporary file first, (optionally) backs
      up the original file, then renames the temporary file to the actual file
      name.  This helps reduce the chance of file corruption under various
      circumstances (such as shutdown or crash while the file is being written
      to disk).
      3a77ac35
  13. 20 8月, 2015 2 次提交