jp9000
e14f0fe56b
win-dshow: Fix integer size conversion warnings
2014-10-11 21:18:34 -07:00
Ben Torell
958b5c12de
Latest translations from Crowdin
2014-10-11 18:47:35 -04:00
Palana
94a93abb2b
(API Change) Pass data to get_properties when possible
2014-10-01 15:39:57 +02:00
BtbN and jp9000
599febcb54
cmake: Replace FFMpeg modules with single module
...
Now using components instead of one find_package call per module
2014-09-27 09:41:13 -07:00
jp9000
c9df41c1e2
(API Change) Remove pointers from all typedefs
...
Typedef pointers are unsafe. If you do:
typedef struct bla *bla_t;
then you cannot use it as a constant, such as: const bla_t, because
that constant will be to the pointer itself rather than to the
underlying data. I admit this was a fundamental mistake that must
be corrected.
All typedefs that were pointer types will now have their pointers
removed from the type itself, and the pointers will be used when they
are actually used as variables/parameters/returns instead.
This does not break ABI though, which is pretty nice.
2014-09-25 21:48:11 -07:00
jp9000
d753cee1e7
win-dshow: Update libdshowcapture to 0.3.3
...
Adds full support for the HD-PVR Rocket
2014-09-23 04:56:39 -07:00
jp9000
46c0dd7ffb
win-dshow: Change FFmpeg MPGA decoder
...
Apparently MPGA is equivalent to MP2, not MP1.
2014-09-23 04:56:33 -07:00
jp9000
1ccc03308d
win-dshow: Add debug macros for logging timestamps
2014-09-23 04:56:32 -07:00
jp9000
f0568f772d
Update libdshowcapture to 0.3.2
2014-09-14 18:36:47 -07:00
jp9000
4e78635764
win-dshow: Use a single thread per device
...
This prevents certain issues I've encountered with devices where they
expect to shut down in a specific thread they started up in, as well as
a number of other issues, such as the configuration dialogs.
The configuration dialogs require that a message loop be present, and
this was not the case previously because everything was in the video
thread, which has no windows-specific code.
Configuration/crossbar/etc dialogs will now execute correctly.
2014-09-12 20:36:34 -07:00
jp9000
1291351a2a
win-dshow: Properly log colorspace on format fail
2014-09-12 20:36:34 -07:00
jp9000
8bdc967ae9
win-dshow: Implement dynamic format change support
...
This adds support for dynamic format changes on the fly. Format,
resolution, sample rate, can all now be changed by the current
directshow device on the fly.
2014-09-12 20:36:34 -07:00
jp9000
24ae80a481
win-dshow: Implement decoding of encoded devices
2014-09-12 20:36:33 -07:00
jp9000
2378ecdbb5
win-dshow: Clear video/audio frame data on init
2014-09-12 20:36:33 -07:00
jp9000
755f95a3a7
win-dshow: Add FFmpeg decoding support
2014-09-12 20:36:32 -07:00
jp9000
bf1fea3494
win-dshow: Allow automatic handling of source res
...
On an asynchronous video source, the source resolution is automatically
handled by the core, and set to the resolution of the last video data
that was sent. There is no need to manually specify a resolution.
2014-09-12 20:36:32 -07:00
jp9000
febede1fde
Update libdshowcapture to 0.2.3 (Fix audio assert)
2014-09-06 14:37:52 -07:00
jp9000
4cb0c0c6f0
Update libdshowcapture to 0.2.2 (fix for HD-PVR 1)
2014-09-06 14:15:01 -07:00
jp9000
f3c47796ab
Update libdshowcapture to 0.2.1 (HD-PVR 1 support)
2014-09-06 14:00:47 -07:00
jp9000
6c14dbe6ff
Update libdshowcapture to 0.2.0
2014-09-06 12:45:21 -07:00
jp9000
20e005e34a
win-dshow: Swap UYVY and YVYU formats
...
These values were erroneously using their opposing types for the source
frame format.
2014-09-04 14:02:32 -07:00
jp9000
02d408c730
win-dshow: Remove MPEG2 (unlikely to be used)
2014-09-01 17:09:58 -07:00
jp9000
f50aa5e01b
win-dshow: Add audio support
...
This implements audio support, allowing not only the ability to capture
the built-in audio from the video device's audio capture pin, but also
the ability to override the default audio with a custom audio device.
The DShowInput::Update function was split up and refactored a bit, as it
was getting a bit large and messy.
2014-08-28 18:34:36 -07:00
jp9000
1a5989a52b
Update win-dshow to latest libdshowcapture ver
...
This makes win-dshow use the new std::function callbacks instead of the
old C-style callbacks.
2014-08-28 11:06:54 -07:00
jp9000
8ef8f52ff7
win-dshow: Change a few functions to static/inline
2014-08-28 10:09:53 -07:00
dodgepong
a221fee3d2
Add latest translations from CrowdIn
2014-08-25 14:41:52 -07:00
BtbN
02725acdd4
Fix double invocation of install_obs_plugin in every single plugin
2014-08-19 14:24:59 +02:00
jp9000
7608f77e8b
(API Change) Rename autoselect/default functions
...
For the sake of consistency, renamed these two functions to include
_value at the end so they are consistent.
Renamed: To:
-------------------------------------------------------
obs_data_has_default obs_data_has_default_value
obs_data_has_autoselect obs_data_has_autoselect_value
obs_data_item_has_default obs_data_item_has_default_value
obs_data_item_has_autoselect obs_data_item_has_autoselect_value
2014-08-09 14:36:38 -07:00
jp9000
9d300685ca
(API Change) Unsquish libobs/util
...
Changed: To:
-----------------------------------------------------------
dstr_isempty dstr_is_empty
cf_lexer_gettokens cf_lexer_get_tokens
cf_preprocessor_gettokens cf_preprocessor_get_tokens
2014-08-09 11:57:37 -07:00
jp9000
04712b5fe9
(API Change) Unsquish obs_data_* names
...
Changed: To:
-----------------------------------------------
obs_data_getjson obs_data_get_json
obs_data_getstring obs_data_get_string
obs_data_getint obs_data_get_int
obs_data_getdouble obs_data_get_double
obs_data_getbool obs_data_get_bool
obs_data_getobj obs_data_get_obj
obs_data_getarray obs_data_get_array
obs_data_setstring obs_data_set_string
obs_data_setint obs_data_set_int
obs_data_setdouble obs_data_set_double
obs_data_setbool obs_data_set_bool
obs_data_setobj obs_data_set_obj
obs_data_setarray obs_data_set_array
obs_data_item_getstring obs_data_item_get_string
obs_data_item_getint obs_data_item_get_int
obs_data_item_getdouble obs_data_item_get_double
obs_data_item_getbool obs_data_item_get_bool
obs_data_item_getobj obs_data_item_get_obj
obs_data_item_getarray obs_data_item_get_array
obs_data_item_setstring obs_data_item_set_string
obs_data_item_setint obs_data_item_set_int
obs_data_item_setdouble obs_data_item_set_double
obs_data_item_setbool obs_data_item_set_bool
obs_data_item_setobj obs_data_item_set_obj
obs_data_item_setarray obs_data_item_set_array
2014-08-09 11:57:36 -07:00
jp9000
2d606dd8d8
(API Change) Use 'get' convention: API callbacks
...
Renamed: To:
-------------------------------------------------------
obs_source_info::defaults obs_source_info::get_defaults
obs_source_info::properties obs_source_info::get_properties
obs_output_info::defaults obs_output_info::get_defaults
obs_output_info::properties obs_output_info::get_properties
obs_output_info::total_bytes obs_output_info::get_total_bytes
obs_output_info::dropped_frames obs_output_info::get_dropped_frames
obs_encoder_info::defaults obs_encoder_info::get_defaults
obs_encoder_info::properties obs_encoder_info::get_properties
obs_encoder_info::extra_data obs_encoder_info::get_extra_data
obs_encoder_info::sei_data obs_encoder_info::get_sei_data
obs_encoder_info::audio_info obs_encoder_info::get_audio_info
obs_encoder_info::video_info obs_encoder_info::get_video_fino
obs_service_info::defaults obs_service_info::get_defaults
obs_service_info::properties obs_service_info::get_properties
2014-08-09 11:57:30 -07:00
jp9000
c83d05117f
(API Change) Unsquish libobs API callback names
...
Renamed: To:
-------------------------------------------------------
obs_source_info::getname obs_source_info::get_name
obs_source_info::getwidth obs_source_info::get_width
obs_source_info::getheight obs_source_info::get_height
obs_output_info::getname obs_output_info::get_name
obs_encoder_info::getname obs_encoder_info::get_name
obs_service_info::getname obs_service_info::get_name
2014-08-08 11:04:46 -07:00
jp9000
73baaa59e9
(API Change) Unsquish libobs (base) names
...
Previous names: New names:
-----------------------------------------------------------
obs_view_setsource obs_view_set_source
obs_view_getsource obs_view_get_source
obs_source_getdisplayname obs_source_get_display_name
obs_source_getwidth obs_source_get_width
obs_source_getheight obs_source_get_height
obs_filter_getparent obs_filter_get_parent
obs_filter_gettarget obs_filter_get_target
obs_source_filter_setorder obs_source_filter_set_order
obs_source_getsettings obs_source_get_settings
obs_source_getname obs_source_get_name
obs_source_setname obs_source_set_name
obs_source_setvolume obs_source_set_volume
obs_source_getvolume obs_source_get_volume
obs_scene_getsource obs_scene_get_source
obs_scene_fromsource obs_scene_from_source
obs_scene_findsource obs_scene_find_source
obs_output_getdisplayname obs_output_get_display_name
obs_output_getname obs_output_get_name
obs_encoder_getname obs_encoder_get_name
obs_service_getdisplayname obs_service_get_display_name
obs_service_getname obs_service_get_name
2014-08-08 11:04:46 -07:00
jp9000
4122a5b9b5
(API Change) Rename 'source_frame' + related
...
For the sake of naming consistency with the rest of obs.h, prefix this
structure and associated functions with obs_.
Renamed structures:
- struct source_frame (now obs_source_frame)
Renamed functions:
- source_frame_init (now obs_source_frame_init)
- source_frame_free (now obs_source_frame_free)
- source_frame_create (now obs_source_frame_create)
- source_frame_destroy (now obs_source_frame_destroy)
Affected functions:
- obs_source_output_video
- obs_source_get_frame
- obs_source_release_frame
2014-08-08 11:04:42 -07:00
jp9000
892fdea83e
Remove macro to free locale
...
This functionality can now be handled automatically because locale can
now be freed seaparately from obs_module_unload with
obs_module_free_locale, which is called automatically when the module is
being freed.
2014-07-27 17:29:10 -07:00
jp9000
f0ac19abba
Remove version parameter from obs_module_load
...
Replaced by obs_get_version() API
2014-07-27 17:29:10 -07:00
BtbN
38c2fc87aa
Move all data into the subdir it belongs to
...
Completely removes the build dir in favor of cmake based build layouting
2014-07-19 01:38:41 +02:00
jp9000
a3293c4cd6
Update libdshowcapture to the latest version
2014-07-15 08:20:47 -07:00
jp9000
482791c5b6
Add locale for modules
2014-07-11 17:29:00 -07:00
Palana
d79b28e9ba
Add FPS entries "Highest" and "Match OBS FPS" for win-dshow
2014-07-02 19:37:50 +02:00
Palana
45d42af46c
Add name for VideoFormat::Any
2014-07-02 19:37:50 +02:00
Palana
1052590aa5
Implement frame rate autoselection for win-dshow device update
2014-07-02 19:37:49 +02:00
Palana
2bf0163aa5
Update config modified callbacks with disable/autoselection semantics
...
Autoselection is only implemented for frame rate as it doesn't make
sense to autoselect the video format (Any fills the role of library
supplied autoselection) or the resolution (it may make sense to
implement resolution matching based on the current transformation
settings in the future though)
2014-07-02 19:37:43 +02:00
Palana
2702259c75
Add DecodeDeviceId helper with DStr targets
2014-07-02 19:31:53 +02:00
Palana
fdc2ebf980
Add FPS/VideoFormat to name conversion helpers
2014-07-02 19:31:52 +02:00
Palana
453a8b21cd
Add device caps matching helpers
2014-07-02 18:22:03 +02:00
Palana
f854ac7b78
Remove user config modifying code
2014-07-02 17:55:05 +02:00
Palana
765d2e89f4
Use <limits> instead of constant
2014-07-02 17:42:20 +02:00
Palana
a7cc60ec11
Refactor resolution, frame rate, and video format matching in win-dshow
2014-07-02 17:40:55 +02:00
Jim
2ea50cab36
Merge pull request #124 from jp9000/new-locale-handling
...
Update to new module locale API
2014-06-25 12:58:05 -07:00