1. 08 9月, 2015 1 次提交
    • 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
  2. 07 9月, 2015 4 次提交
  3. 29 8月, 2015 1 次提交
  4. 27 8月, 2015 1 次提交
  5. 24 8月, 2015 1 次提交
  6. 22 8月, 2015 1 次提交
    • 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
  7. 20 8月, 2015 3 次提交
    • J
      (API Change) libobs: Add global module config path · 2bd8ab7c
      jp9000 提交于
      API Changed:
      ---------------------------
      From:
      - bool obs_startup(const char *locale, profiler_name_store_t *store);
      
      To:
      - bool obs_startup(const char *locale, const char *module_config_path,
      		profiler_name_store_t *store);
      
      Summary:
      ---------------------------
      This allows plugin modules to store plugin-specific configuration data
      (rather than only allowing objects to store configuration data).  This
      will be useful for things like caching data, for example looking up and
      storing ingests from remote (rather than storing locally), or caching
      font data (so it doesn't have to build a font cache each time), among
      other things.
      
      Also adds a module-specific directory for the UI
      2bd8ab7c
    • J
      UI: Update configs for new FFmpeg output changes · 0ce756ac
      jp9000 提交于
      If a user was using FFmpeg output before pathc 0.12.0, they had to type
      in the full file name to the FFmpeg output URL/Path box, which isn't
      exactly compatible with the new settings.
      
      This changes each profile's config file so that the FFmpeg output
      detects whether files are used, and then extracts the file's directory
      and extension and sets them accordingly to make it compatible with the
      new FFmpeg file output handling.
      0ce756ac
    • J
      UI: Allow generated filenames for FFmpeg output · 75dcd1ff
      jp9000 提交于
      This changes the way the advanced output section's FFmpeg output
      settings work by allowing the user to select whether they want to output
      to a file or output to a URL, and makes it so file names are
      automatically generated like other recording outputs.
      
      If they choose to output to a file, it'll only require an output
      directory similarly to how other recording outputs work.  They can
      select a directory to output to rather than being required to type in a
      full path and filename; the filename is automatically generated.  The
      extension is also automatically retrieved from libff depending on the
      format selected.
      
      Otherwise if they have Output to URL selected, it'll show a simple edit
      box where they can type in the target URL.
      75dcd1ff
  8. 19 8月, 2015 1 次提交
    • J
      UI: Fix GCC 4.8 compilation issue · 3488039e
      jp9000 提交于
      Apparently using QPointer container for the QObject being given to the
      connect function makes it so it can't find the actual function to use.
      I'm guessing this is incomplete functionality or a bug that existed in
      GCC 4.8.  Doesn't happen in 4.9+.
      3488039e
  9. 17 8月, 2015 1 次提交
    • J
      UI: When setting base res, use closest output res · 59592cf0
      jp9000 提交于
      When settings the base resolution, try to find the closest output
      resolution to the old output resolution, and use that for its value.  If
      the aspect ratio is about the same, then don't modify the value.  If the
      aspect ratio is significantly different, then find the closest
      approximation while keeping with the new aspect ratio.
      
      This particular issue has been an annoyance for quite some time.
      59592cf0
  10. 16 8月, 2015 1 次提交
  11. 12 8月, 2015 5 次提交
    • P
      UI: Save profiler data on exit · b07b742f
      Palana 提交于
      b07b742f
    • P
      (API Change) libobs: Add profile_name_store_t parameter to obs_startup · 44b5afbd
      Palana 提交于
      Due to all the threads in libobs it wouldn't be safe to make that
      parameter reconfigurable after libobs is initialized without adding
      even more synchronization. On the other hand, adding a function to set
      the name store before calling obs_startup would solve the problem of
      passing a name store into libobs, but it can lead to more complicated
      semantics for obs_get_profiler_name_store (e.g., should it always return
      the current name store even if libobs isn't initialized until someone
      calls set_name_store(NULL)? should obs_shutdown call
      set_name_store(NULL)? Passing it as obs_startup parameter avoids
      these (and hopefully other) potential misunderstandings
      44b5afbd
    • P
      UI: Profile initialization · 8d3db084
      Palana 提交于
      8d3db084
    • P
      UI: Add basic profiler integration · 7c5d93b9
      Palana 提交于
      7c5d93b9
    • P
      UI: Refactor OBSInit call · 2de89bee
      Palana 提交于
      2de89bee
  12. 10 8月, 2015 2 次提交
  13. 08 8月, 2015 1 次提交
    • J
      UI: Recalculate main preview scale on video reset · f3b76a72
      jp9000 提交于
      Fixes a minor bug introduced by the windowless graphics context merge.
      When setting a new base resolution, it would not recalculate the preview
      size, and the preview would display the wrong size until the main window
      was resized by the user.  This patch makes it so that it calls the
      recalculation function when the base resolution is changed to prevent
      that from happening.
      f3b76a72
  14. 05 8月, 2015 6 次提交
    • J
      UI: Move obs startup/shutdown to obs-app.cpp · 1722425f
      jp9000 提交于
      Now that we aren't dependent upon a window for our context, we can
      safely move the obs context creation/destruction to obs-app.cpp, and use
      the OBSContext helper class to automatically shut down obs.
      1722425f
    • J
      UI: Remove windowless context #error · 6e75c187
      jp9000 提交于
      6e75c187
    • J
      UI: Prune obs_display code from secondary windows · e93ca4cd
      jp9000 提交于
      (Non-compiling commit: windowless-context branch)
      
      Now that all obs_display related code has been moved to OBSQTDisplay,
      we can prune a whole bunch of boilerplate code that had to be repeated
      for the displays of each window.
      
      Affects:
      - Properties
      - Filters
      - Interact
      - Projector
      e93ca4cd
    • J
      UI: Change "main preview" to use OBSQTDisplay · f0b90343
      jp9000 提交于
      (Non-compiling commit: windowless-context branch)
      
      Gets rid of all functions/data related to setting up the main preview to
      be associated with obs_reset_video and instead uses OBSQTDisplay for the
      main window display (thus associating it with an obs_display object).
      f0b90343
    • J
      UI: Refactor OBSQTDisplay for windowless context · 34226311
      jp9000 提交于
      (Non-compiling commit: windowless-context branch)
      
      This makes it so that OBSQTDisplay now uses/controls an obs_display
      object directly (rather than having the owner have to associate an
      OBSDisplay with it).  It was separated before because the main window
      for the basic UI would was using the "main preview" stuff before the
      windowless context and had to be handled differently, so you couldn't
      just associate an obs_display object with OBSQTDisplay, meaning that all
      "secondary" previews such as properties/filters/etc had to handle the
      obs_display alone, which caused a lot of needlessly duplicated code.
      
      Also adds a DisplayCreated signal to allow owners to be able to add
      callbacks and such on creation of the actual obs_display context.
      34226311
    • J
      UI: Add windowless context #error · 5c9325f3
      jp9000 提交于
      5c9325f3
  15. 02 8月, 2015 1 次提交
  16. 21 7月, 2015 1 次提交
  17. 19 7月, 2015 2 次提交
  18. 16 7月, 2015 1 次提交
  19. 12 7月, 2015 1 次提交
  20. 10 7月, 2015 2 次提交
  21. 09 7月, 2015 3 次提交