0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00
Commit Graph

238 Commits

Author SHA1 Message Date
CodeYan01
937986452b docs: Add property functions 2023-12-14 16:56:52 -05:00
derrod
3f7133b2c7 docs: Add obs_view_enum_video_info and deprecate obs_view_get_video_info 2023-12-02 18:05:55 -06:00
CodeYan01
f5fe9999b4 docs: Add info on obs_frontend_source_list 2023-12-02 18:01:55 -06:00
Susko3
f173650103 docs: Fix missing accessor in example
Tested this in code, and it makes sense from the way
`scenes.sources.array[i]` is accessed.
2023-11-25 17:29:21 -06:00
Norihiro Kamae
40562ff47e libobs: Expose obs_data_set_autoselect_array 2023-11-10 02:10:43 -06:00
tt2468
3b0ca4527a libobs: Add obs_reset_audio_monitoring()
Reloads all audio monitoring devices
2023-11-07 01:32:12 -06:00
Lev Leontev
df990192b2 docs: Fix obs_sceneitem_get_group signature 2023-10-28 18:28:54 -05:00
CodeYan01
abb2da99a8 docs: Clarify strlist_split 2023-08-27 09:55:36 +10:00
cg2121
5dc670f83b docs: Add version added to filter index functions
These functions were added with OBS 30.0.0
2023-08-26 16:10:33 -07:00
tytan652
595306cd54 docs: Fix obs_frontend_add_dock deprecation version 2023-08-17 04:54:01 -07:00
Penwywern
c7cba7f803 docs: Add source-specific procedures 2023-08-14 13:17:46 -04:00
Penwywern
9450588486 docs: Add source-specific signals 2023-08-14 13:17:46 -04:00
Penwywern
6f046eb48f docs: Add decl string for media signals 2023-08-14 13:17:46 -04:00
Lain
d2d3e46e14 Revert "UI: Only defer property updates for input and transition sources"
This reverts commit 58fb63030c.

This is not the ideal fix for the fact that scripts can use a deferred
update flag because it makes it so that filters in general cannot use
flags. We need to disable this via other means.
2023-08-03 16:09:31 -07:00
jpark37
7669da1ea8 libobs: Add VIDEO_FORMAT_R10L
Support 10-bit packed format that DeckLink uses.
2023-07-29 16:41:31 -07:00
CodeYan01
a494cf5ce4 libobs: Add obs_source_info.filter_add
If there is filter_remove, it is reasonable to expect that there is also
filter_add. filter_add also enables filters to attach signal handlers
on the parent, and disconnect them in filter_remove.
2023-07-29 16:15:21 -07:00
CodeYan01
c48bc42a47 docs: Indicate that refcount is not incremented
Edited `obs_filter_get_parent` and `obs_filter_get_target`
2023-07-28 06:15:49 -07:00
cg2121
40d15d4b86 docs: Add documentation for filter index functions
Adds documentation for the obs_source_filter_set_index and
obs_source_filter_get_index functions.
2023-07-22 17:04:03 -07:00
derrod
d90bfc5e0b libobs: Add obs_add_safe_module() 2023-07-21 23:22:07 +02:00
Richard Stanway
f7eb634788 docs: Clarify OBS_FRONTEND_EVENT_EXIT intent 2023-07-15 16:54:51 -07:00
gxalpha
32713eb95e docs: Add obs_properties_add_button2 2023-07-15 16:37:14 -07:00
CodeYan01
34a9ea09e8 docs: Fix macro definitions 2023-07-08 16:09:09 -07:00
CodeYan01
a287313070 docs: Add example for DARRAY as function parameter 2023-07-06 01:47:24 -07:00
CodeYan01
c3dafe0703 docs: Add versionadded directives for 29.1 2023-06-25 09:29:25 +10:00
SuslikV
90affc03fb docs: Fix param name
Copy-paste mistake
2023-06-17 16:30:07 -07:00
CodeYan01
73f92eef2e docs: Fix da_push_back return type 2023-06-17 16:10:00 -07:00
CodeYan01
26003fdf79 docs: Clarify da_erase_range 2023-06-10 16:40:33 -07:00
gxalpha
79822a58c3 libobs,plugins: Remove new obs_output_*2 functions
Effectively reverting parts of d314d47, this commit removes the new
functions that got added to remove the flags parameter. Instead, it just
marks the parameter as unused and documents this. Having what is
effectively an API break just to remove a parameter is a bit overkill.
The other parts of d314d47 which cleaned up the usage of the flags
parameter are untouched here.
2023-06-10 16:13:05 -07:00
tytan652
90d96e92c2 obs-frontend-api,UI,docs: Add API to add custom docks with no toggle
Some plugin does that by deleting the QAction returned by
obs_frontend_add_dock().

Now that obs_frontend_add_dock() is deprecated,
obs_frontend_add_custom_qdock() replace this usage.
2023-06-03 16:47:01 -07:00
tytan652
cde5545f8f obs-frontend-api,UI,docs: Add dock API that ask for unique object name
obs_frontend_add_dock() is deprecated in favor of
obs_frontend_add_dock_by_id()
2023-06-03 16:47:01 -07:00
gxalpha
2be0550e9a docs: Clarify source update_properties signal 2023-05-28 10:05:14 +10:00
gxalpha
58fb63030c UI: Only defer property updates for input and transition sources
Deferring properties was only ever made for input and transition
sources. As other property dialogs do not have an "Ok" button that would
cause an update to happen, if the deferred flag was set the callback
would never be called.
Also clarifies the docs to reflect this.
2023-05-20 16:55:50 -07:00
gxalpha
ad9fd6c6f0 libobs,UI: Add properties radio button list 2023-05-20 16:48:23 -07:00
gxalpha
f049962bb2 libobs: Add properties list boolean format 2023-05-20 16:48:23 -07:00
tt2468
d314d4725d libobs, plugins: Deprecate obs_output_t functions with flag parameters
This deprecates the following functions, replacing them with new
versions:
- `obs_output_can_begin_data_capture()` - now `*capture2()`
- `obs_output_initialize_encoders()` - now `*encoders2()`
- `obs_output_begin_data_capture()` - now `*capture2()`

The flags parameter was initially designed to support audio-only or
video-only operation of an output which had the `OBS_OUTPUT_AV` flag,
however, full support for that was never implemented, and there are
likely fundamental issues with an implementation, mainly that most
outputs are programmed assuming that there will always be at least one
audio and one video track. This requires new flags specifying support
for optional audio/video, among other things.

An implementation to allow audio/video to be optional is best done
using the flag technique above, with audio/video enablement specified
by whether media (raw, `video_t/audio_t`) or encoder (`obs_encoder_t`)
objects are specified.

Since every implementation I could find always specifies `flags` as 0,
I was able to safely conclude that immediately removing the parameter's
functionality is safe to do.
2023-05-20 16:41:55 -07:00
Lain
106c7aa61f Update copyrights/names 2023-05-20 01:31:18 -07:00
tytan652
3a16a6c836 docs: Add missing elements in Services API 2023-05-06 16:24:52 -07:00
gxalpha
9da4a37cbc docs: Remove obs_sceneitem_group_from_scene/source
These function were removed in 35704c4 (and never got into a release).
2023-04-22 16:44:28 -07:00
WarmUpTill
0d6588fa8c docs: Fix obs_frontend_get_scene_collections() description 2023-04-22 16:43:07 -07:00
gxalpha
f05b719950 docs: Clarify that data for source/encoder properties can be null 2023-04-22 16:34:56 -07:00
gxalpha
4d2f7ef009 docs: Add note about instance methods as callbacks in scripting 2023-04-15 16:36:32 -07:00
jpark37
97843dd7d7 libobs: Add VIDEO_FORMAT_V210
Support 10-bit packed format that DeckLink uses.
2023-03-26 01:52:44 -07:00
jpark37
e32c2c1427 libobs: Add callback for main texture rendered
Useful for redirecting main texture to DeckLink output for example.
2023-03-24 15:18:45 -07:00
Jim
0a9ed4569b
Merge pull request #7814 from jpark37/decklink-preview-rescale
decklink: Move preview output rescaling to GPU
2023-03-20 01:42:36 -07:00
tytan652
22ebed8d02 libobs,docs: Add connect infos check to the Services API
This new function allows to know if the service has all the info needed
to try to connect.
2023-03-19 17:38:02 +01:00
tytan652
ea4ac2d08d libobs,docs: Add connect infos to the Services API
This replace and deprecate url, key, username and password functions.
2023-03-19 17:38:02 +01:00
tytan652
aeab6b8fc4 libobs,docs,rtmps-services: Add supported audio codecs
Also remove Opus-only "supported audio codecs" in the services JSON.
2023-03-19 17:27:42 +01:00
tytan652
1e0f4a6ebf libobs,docs: Add preferred output type to Service API 2023-03-19 17:16:13 +01:00
tytan652
48dc6dde68 libobs,docs: Add supported codecs functions with output id 2023-03-19 16:49:56 +01:00
tytan652
56411eda8e libobs,docs: Add protocol enumeration functions 2023-03-19 16:31:05 +01:00