1. 08 7月, 2019 2 次提交
    • J
      UI: Add pause support · eab10d48
      jp9000 提交于
      Adds support for pausing recordings.  When settings are eligible for
      recordings, a pause button will appear next to the recording button.  If
      the settings are not eligible, it will warn the user in the output
      settings that they cannot pause recordings if those settings are used.
      eab10d48
    • J
      libobs: Implement pausing of outputs · 153fa633
      jp9000 提交于
      This implements pausing of outputs.  To accomplish this, raw audio/video
      data is halted to the encoders or raw output.  Pausing is as precisely
      timed as possible according to the timing of the obs_output_pause call,
      and audio data will be spliced down to the exact audio sample in
      accordance to that timing at the start/end marks.
      
      Outputs that support this (outputs used for recording) can set the
      OBS_OUTPUT_CAN_PAUSE capability flag.
      153fa633
  2. 16 6月, 2019 1 次提交
    • C
      libobs, UI: Implement item_locked event · 2fe641b8
      Chris Angelico 提交于
      Similar to item_visible, this event fires whenever a scene item is
      locked or unlocked. This allows the UI and libobs to remain in sync
      regarding scene elements' statuses.
      2fe641b8
  3. 17 5月, 2019 1 次提交
    • J
      libobs: Fix lockup when an encode call fails · 973d31b8
      jp9000 提交于
      (This commit also modifies the UI, obs-ffmpeg, and obs-output modules)
      
      Fixes a long-time regression where the program would lock up if an
      encode call fails.  Shuts down all outputs associated with the failing
      encoder and displays an error message to the user.
      
      Ideally, it would be best if a more detailed error could be displayed to
      the user about the nature of the error, though the primary problem is
      the encoder errors are typically not something the user would be able to
      understand.  The current message is a bit of a generic error message;
      improvement is welcome.
      
      Another suggestion is to try to have the encoder restart seamlessly,
      though it would take a significant amount of work to be able to make it
      do something like that properly, and it sort of assumes that encoder
      failures are sporadic, which may not necessarily be the case with some
      hardware encoders on some systems.  It may be better just to use another
      encoder in that case.  For now, seamless restart is ruled out.
      973d31b8
  4. 10 5月, 2019 2 次提交
  5. 05 10月, 2018 1 次提交
  6. 18 9月, 2018 1 次提交
  7. 08 9月, 2018 1 次提交
    • A
      docs/sphinx: Add annotation api functions · 12f92540
      Alex Anderson 提交于
      Add documentation for:
      
      size_t gs_param_get_num_annotations(const gs_eparam_t *param)
      
      gs_eparam_t *gs_param_get_annotation_by_idx(const gs_eparam_t *param,
      		size_t annotation);
      
      gs_eparam_t *gs_param_get_annotation_by_name(const gs_eparam_t *param,
      		const char *name);
      
      void *gs_effect_get_val(gs_eparam_t *param);
      
      void *gs_effect_get_default_val(gs_eparam_t *param);
      
      size_t gs_effect_get_val_size(gs_eparam_t *param);
      
      size_t gs_effect_get_default_val_size(gs_eparam_t *param);
      12f92540
  8. 20 7月, 2018 1 次提交
  9. 04 6月, 2018 2 次提交
    • J
      libobs: Add scene item grouping · 26d5560d
      jp9000 提交于
      Allows the ability to group scene items.  Groups internally are
      sub-scenes, which allows the ability to add unique filters and
      transforms to each group.
      26d5560d
    • J
      libobs/callback: Add signal reference counting · 3a05cf6a
      jp9000 提交于
      Adds a simple signal reference counting function
      (signal_handler_connect_ref) that makes it so that signals keep the
      handler around until the all the signal itself is disconnected.  This
      prevents potential crashes where a signal might try to disconnect after
      a handler has already been destroyed (typically in C++ with
      OBSSignalHandler helper objects, where destruction isn't guaranteed to
      be predictable).
      
      This also modifies OBSSignalHandler to use the reference-counting
      connections.
      3a05cf6a
  10. 02 5月, 2018 1 次提交
  11. 25 4月, 2018 1 次提交
  12. 24 4月, 2018 1 次提交
    • J
      libobs: Add functions to get raw video output · c4b482ef
      jp9000 提交于
      Adds obs_add_raw_video_callback() and obs_remove_raw_video_callback()
      functions which allow the ability to get raw video frames without
      necessarily needing to create an output.
      c4b482ef
  13. 27 2月, 2018 1 次提交
  14. 23 1月, 2018 1 次提交
  15. 14 1月, 2018 1 次提交
  16. 05 1月, 2018 3 次提交
  17. 02 1月, 2018 1 次提交
    • J
      libobs: Add obs_render_main_texture · 7f6cf97b
      jp9000 提交于
      (Note: This commit also modifies UI and test)
      
      This makes it so that main preview panes are rendered with the main
      output texture rather than re-rendering the main view.  The view will
      render all objects again, whereas the output texture will be a single
      texture render of the same exact thing.
      
      Also fixes some abnormal artifacting when scaling the main preview pane.
      7f6cf97b
  18. 03 12月, 2017 1 次提交
    • J
      libobs/util: Add funcs to push zeroed data to circlebufs · 5d9854ea
      jp9000 提交于
      Adds circlebuf_push_front_zero and circlebuf_push_back_zero to
      conveniently push zeroed data to the front/back of the buffer without
      having to create an intermediary buffer to accomplish the same thing.
      5d9854ea
  19. 02 12月, 2017 1 次提交
  20. 27 11月, 2017 1 次提交