1. 26 1月, 2016 20 次提交
    • J
      UI: Fix "invalid" audio devices in audio settings · 3749436c
      jp9000 提交于
      If a global audio device is disconnected or for whatever reason is no
      longer available when audio settings is opened, it will erroneously
      select index 0 of the combo box ("Disabled") by default because it can't
      find it in the combo box.  This fixes that issue by making it insert an
      item in to the combo box specifying that the previously available audio
      device is no longer available, and properly preserving the user's
      settings.
      3749436c
    • J
      UI: Add options to enable/disable stream confirm dialogs · bbbdd444
      jp9000 提交于
      Some streamers would accidentally hit start/stop streaming, which on
      certain services would send out mass emails to all their followers.
      This just adds options to general settings to optionally enable dialogs
      that confirm whether to actually start/stop streaming when the button is
      clicked.
      bbbdd444
    • J
      UI: Add "Always On Top" option to file menu · 213d8ce1
      jp9000 提交于
      213d8ce1
    • J
      UI: Fix advanced audio properties duplication bug · 9991f6a7
      jp9000 提交于
      Because of the patch that removed the "user sources list" in libobs
      (70fec7ae), obs_enum_sources will now enumerate the global audio
      sources, where it didn't before.  In the advanced audio properties
      dialog, before the patch I had to use code to manually include them, but
      I neglected to remove that code when I made that patch, so it would
      cause them to be added more than once.  This just removes that code.
      9991f6a7
    • J
      UI: Fix bug where default scene would not be added to list · 6da742ba
      jp9000 提交于
      6da742ba
    • J
      UI: Add GetCurrentSceneSource inline function · db48e347
      jp9000 提交于
      db48e347
    • J
      UI: Add menu button (split button) class · b8547aa8
      jp9000 提交于
      When you assign a menu to a normal QPushButton, it becomes a button that
      only allows you to have a menu.  This class lets you click the button
      and have a menu at the same time.
      b8547aa8
    • J
      UI: Add helper to delete layout and layout contents · 370761ba
      jp9000 提交于
      370761ba
    • J
      UI: Resize main preview on the widget's resize signal · 6262abc2
      jp9000 提交于
      Fixes a bug where the preview's size calculations wouldn't update if the
      widget itself was resizes but the window wasn't resized.
      6262abc2
    • J
      UI: Add splitter to main window · d7d5e55d
      jp9000 提交于
      Allows adjusting the size of the bottom section of the main window
      d7d5e55d
    • J
      libobs-opengl: Disable v-sync when drawing on linux · 9cded466
      jp9000 提交于
      Prevents glXSwapBuffers from stalling.  It would have to stall and wait
      for the next frame for each and every single additional swap chain.
      9cded466
    • J
      deps/glad: Add support for glSwapIntervalMESA · aa48c6e9
      jp9000 提交于
      Just in case glSwapIntervalEXT and glSwapIntervalSGI aren't available
      for whatever reason.  This entire patch is most likely completely
      redundant on modern mesa drivers.
      aa48c6e9
    • J
      libobs: Report lost frame count due to rendering lag · 726163aa
      jp9000 提交于
      This has been missing for a bit too long, and should make it
      easier/faster to diagnose issues users might be having.
      726163aa
    • J
      libobs/media-io: Fix bug (skipped frames including lagged frames) · 23f4d17d
      jp9000 提交于
      The skipped frame count (dropped frames due to encoding being
      overloaded) would erroneously include lagged frames (dropped frames due
      to render stalls).  This will make diagnosing actual issues a user might
      be having a bit easier.
      23f4d17d
    • J
      libobs: Fix potential output audio/video sync bug · 65eb3c08
      jp9000 提交于
      Problem:
      
      When an output is started with encoders that have already been started
      by another output, and it starts in between the window in between where
      the first audio packets start coming in and where the first video packet
      comes in, the output would get audio packets with timestamps potentially
      much later than the first video frame when the first video frame finally
      comes in.  The audio/video encoders will almost always have a differing
      delay.
      
      Solution:
      
      Detect that starting window, and if within that starting window, wait
      for a new keyframe from video instead of trying to sync up video.
      
      Additional Notes:
      
      In these cases where an output starts with already-active encoders, this
      patch also reduces the potential sync offset between the first video
      frame and the first audio frame.  Before, it would sync the first video
      frame with the first audio frames right after that, but now it syncs
      with the closest audio frame in the interleaved array, which halves the
      potential sync difference between the first video frame and the first
      audio frame of already-active encoders.  (So now the potential sync
      difference is roughly 11.6 milliseconds at 44.1khz audio, where it was
      23.2 before)
      65eb3c08
    • J
      libobs: Subtract packet dts_usec with first packet offset · c4657da2
      jp9000 提交于
      Ensures that the packet dts_usec vals which are generated for
      syncing/interleaving use the proper offset relative to where they're
      supposed to be starting from.  The negative DTS of a first video packet
      could potentially have been applied twice due to this.
      c4657da2
    • J
      libobs: Fix potential race condition · 346ddd50
      jp9000 提交于
      Fixes potential race conditions when two threads are trying to
      initialize/start/stop the same encoders at the same time.
      346ddd50
    • J
      libobs/callback: Allow ability to use calldata_t with stack · 92bbb8e8
      jp9000 提交于
      Allows the ability to use fixed stack memory to construct a calldata_t
      structure rather than having to allocate each time.  This is fine to do
      for certain signals where the calldata never goes above a specific size.
      If by some chance the size is insufficient, it will output a log
      message.
      92bbb8e8
    • J
      libobs: Add function to get current video time (in nanosec) · 9c5f95d8
      jp9000 提交于
      Allows getting the timestamp for the video frame currently being
      rendered.
      9c5f95d8
    • J
      libobs/graphics: Add gs_image_file_* functions (w/animated gifs) · 13890a46
      jp9000 提交于
      These functions allow animated gifs and management of image files.  Uses
      libnsgif to load animated gifs.
      13890a46
  2. 23 1月, 2016 7 次提交
  3. 15 1月, 2016 1 次提交
  4. 28 12月, 2015 1 次提交
  5. 27 12月, 2015 1 次提交
  6. 22 12月, 2015 10 次提交