1. 07 7月, 2015 11 次提交
  2. 06 7月, 2015 5 次提交
    • P
      UI: Fix memory leak when saving stream settings · 9f2566fe
      Palana 提交于
      SetService started using addref in
      71abed38, so we have to release
      the extra reference here
      9f2566fe
    • P
      UI: Toggle password "Show" button text when clicked · 99db4d75
      Palana 提交于
      99db4d75
    • J
      ipc-util: Fix access rights issue with IPC pipe · 8ae0cd24
      jp9000 提交于
      This was the reason why game capture could not hook when the hook was
      run at administrator level and the game/target was below administrator
      level: it was because the plugin created a pipe, and the hook tried to
      connect to that pipe, but because the pipe was created as administrator
      with default access rights, the pipe did not allow write access for
      anything below administrator level, therefor the hook could not connect
      to the plugin, and the hook would always fail as a result.
      
      This fixes the issue by creating the pipe with full access rights to
      everyone instead of default access rights.
      8ae0cd24
    • J
      win-capture: Add direct hooking and use by default · f4d0da4e
      jp9000 提交于
      I've come to realize that it's probably not wise to deviate from the
      original version's functionality due to the fact that the original
      version works without issues.  I'm wondering if some of the capture
      problems have been due to the fact that the direct hook method (via
      CreateRemoteThread) was removed, so I put it back in, made it default,
      and added an option to use anti-cheat compatibility just like in the
      original version.
      f4d0da4e
    • J
      win-capture: Add inject library files · b0570c46
      jp9000 提交于
      This is intended to separate the library injection code so that both the
      inject helper process and the plugin itself can inject directly if they
      wish.
      b0570c46
  3. 05 7月, 2015 4 次提交
    • P
      coreaudio-encoder: Reduce log level for some non-fatal errors · f3473901
      Palana 提交于
      This should reduce debug breaks due to LOG_ERROR on windows when running
      with debugger attached
      f3473901
    • P
      coreaudio-encoder: Add log level parameter to log_osstatus · f7ee1cf7
      Palana 提交于
      f7ee1cf7
    • J
      deps-libff: Fix starting timestamp bug · 6ed694f6
      jp9000 提交于
      Certain input streams (such as remote streams that are already active)
      can start up mid-stream with a very high initial timestamp values.
      Because of this, it would cause the libff timer to delay for that
      initial timestamp, which often would cause it to not render at all
      because it was stuck waiting.
      
      To fix the problem, we should ignore the timestamp difference of the
      first frame when it's above a certain threshold.
      6ed694f6
    • J
      deps-libff: Offset start of stream by start pts · 171f0e3d
      jp9000 提交于
      Now that we're using the timestamps from the stream for playback,
      certain types of streams and certain file formats will not start from a
      pts of 0.  This causes the start of the playback to be delayed.  This
      code simply ensures that there's no delay on startup.  This is basically
      the same code as used in FFmpeg itself for handling this situation.
      171f0e3d
  4. 04 7月, 2015 20 次提交
    • P
      UI: Expose all available audio encoder bitrates · 4725641c
      Palana 提交于
      4725641c
    • P
      UI: Create best matching audio encoder for given bitrate · 5bb88634
      Palana 提交于
      5bb88634
    • P
      UI: Move output handler audio bitrate config access · 8945309b
      Palana 提交于
      8945309b
    • P
      UI: Add (AAC) audio encoder inspection helpers · 6a136ade
      Palana 提交于
      6a136ade
    • P
      UI: Release recording/streaming signals before outputs · 473244da
      Palana 提交于
      473244da
    • J
      Merge pull request #444 from Gol-D-Ace/master · b0e8fe7b
      Jim 提交于
      rtmp-services: Add recommended video bitrate for Livecoding.tv
      b0e8fe7b
    • G
      7873d5b6
    • J
      Merge pull request #443 from Gol-D-Ace/master · 5832b226
      Jim 提交于
      rtmp-services: Add recommended video bitrate for Beam.pro
      5832b226
    • G
      3e742d13
    • J
      UI: Add menu options to open settings folders · 7c97e21a
      jp9000 提交于
      Adds "Show Settings Folder" and "Show Profile Folder" items to the file
      menu.
      7c97e21a
    • J
      UI: Add Profiles · f9314128
      jp9000 提交于
      Adds setting profiles to the basic user interface.  For each profile, a
      subdirectory for the profile will be created in
      [config_dir]/obs-studio/basic/profiles which will contain the settings
      data for each profile.
      f9314128
    • J
      UI: Add scene collections · 7d6a12f4
      jp9000 提交于
      Adds scene collections to the menu bar, which allows you to duplicate,
      rename, remove, or add clean new scene collections.
      
      Scene files are now stored in ./obs-studio/basic/scenes directory with
      filesystem-safe names.
      7d6a12f4
    • J
      UI: Add UpdateTitleBar function to basic UI · fabb99c3
      jp9000 提交于
      fabb99c3
    • J
      UI: Add New/Duplicate/Untitled locale text · 5d826a86
      jp9000 提交于
      5d826a86
    • J
      UI: Add functions to create safe file names · a781c5bd
      jp9000 提交于
      Adds functions to generate safe file names from potentially unsafe
      names.  Also a function to ensure that a particular filename isn't
      duplicated.
      a781c5bd
    • J
      obs-ffmpeg: Fix potential integer overflows · d1e9b9d6
      jp9000 提交于
      This particularly affected audio encoding, audio encoding previously
      would count samples and use it to create an encoding timestamp, but
      because I was using a standard integer (which is 32bit by default on
      x86), it would max out at about 0x7FFFFFFF samples, which is about 12
      hours of samples at 48000 sample rate.  After that, it would start going
      into negative territory (overflowing).  By changing it to int64_t, it
      will make it so that audio at 48000 samples per second would only be
      able to overflow after about..  6.09 million years.  In other words,
      this should fix the issue for good.
      d1e9b9d6
    • J
      UI: Add a couple new common services · 6f68d9eb
      jp9000 提交于
      Livecoding.tv (coding), gaminglive.tv (gaming), and beam.pro
      (gaming/music)
      
      I really don't see any problems with adding these particular services to
      the local list while the actual remote ingest lookup code has yet to be
      even started yet (as of this writing).  They seem to be harmless
      services that are dedicated to specific types of content (stated above).
      6f68d9eb
    • J
      win-capture: Add 64bit bounce to func_hook · a6aa2f92
      jp9000 提交于
      When hooking 64bit functions, sometimes the offset between the function
      being hooked and the hook itself can be large enough to where it
      requires a 64bit offset to be used.  However, because a 64bit jump
      requires overwriting so many code instructions in the function, it can
      sometimes overwrite code in to an adjacent function, thereby causing a
      crash.
      
      The 64bit hook bounce (created by R1CH) is designed to prevent using
      very long jumps in the target by creating executable memory within a
      32bit offset of that target, and then writing it with the 64bit long
      jump instruction instead.  Then in the target function, it will jump to
      that memory instead, thus forcing the actual hooked function to use a
      32bit hook instead of a 64bit hook, and using at most 5 bytes for the
      actual hook, preventing any likelihood of it overwriting an adjacent
      function.
      a6aa2f92
    • J
      UI: Use default scaled res. of 1280x720 or equiv. · 650c8faa
      jp9000 提交于
      Originally this value defaulted to 1.5 downscaling, but on very high
      resolution displays this would cause the default to be above 1280x720,
      which is not ideal for streaming/recording due to the CPU usage
      requirements.
      
      Instead, it will now find the closest resolution with a pixel count
      equivalent to or closest below 1280x720, and use that instead.
      650c8faa
    • J
      UI: Allow resize without timers · b5664282
      jp9000 提交于
      This prevents the weird stretching effect that occurs whenever a windows
      is in the process of being resized by the user.
      
      Originally it was intended as an optimization, but even on half-decent
      computers it doesn't really have much benefit.
      b5664282