Projects
Multimedia
obs-studio
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 76
View file
obs-studio.changes
Changed
@@ -1,4 +1,13 @@ ------------------------------------------------------------------- +Tue Mar 24 15:03:52 UTC 2020 - jimmy@boombatower.com + +- Update to version 25.0.3: + * libobs: Update to 25.0.3 (linux hotfix once again) + * linux-v4l2: Fixup invalid id + * libobs-d3d11: Log device PCI IDs + * obs-outputs: Fix mbed TLS build issues + +------------------------------------------------------------------- Mon Mar 23 16:10:08 UTC 2020 - jimmy@boombatower.com - Update to version 25.0.2:
View file
obs-studio.spec
Changed
@@ -1,5 +1,5 @@ Name: obs-studio -Version: 25.0.2 +Version: 25.0.3 Release: 0 Summary: A recording/broadcasting program Group: Productivity/Multimedia/Video/Editors and Convertors
View file
_service
Changed
@@ -1,7 +1,7 @@ <services> <service name="tar_scm" mode="disabled"> <param name="versionformat">@PARENT_TAG@</param> - <param name="revision">refs/tags/25.0.2</param> + <param name="revision">refs/tags/25.0.3</param> <param name="url">git://github.com/jp9000/obs-studio.git</param> <param name="scm">git</param> <param name="changesgenerate">enable</param>
View file
_servicedata
Changed
@@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">git://github.com/jp9000/obs-studio.git</param> - <param name="changesrevision">a0e8adbc42df198f95c3778335e4a883e0c2fd09</param> + <param name="changesrevision">3c78a8aa8d5f5c3fd0242697c06582dc96daa012</param> </service> </servicedata>
View file
obs-studio-25.0.2.tar.xz/libobs-d3d11/d3d11-subsystem.cpp -> obs-studio-25.0.3.tar.xz/libobs-d3d11/d3d11-subsystem.cpp
Changed
@@ -945,6 +945,8 @@ desc.DedicatedVideoMemory); blog(LOG_INFO, "\t Shared VRAM: %u", desc.SharedSystemMemory); + blog(LOG_INFO, "\t PCI ID: %x:%x", desc.VendorId, + desc.DeviceId); /* driver version */ LARGE_INTEGER umd;
View file
obs-studio-25.0.2.tar.xz/libobs/obs-config.h -> obs-studio-25.0.3.tar.xz/libobs/obs-config.h
Changed
@@ -41,7 +41,7 @@ * * Reset to zero each major or minor version */ -#define LIBOBS_API_PATCH_VER 2 +#define LIBOBS_API_PATCH_VER 3 #define MAKE_SEMANTIC_VERSION(major, minor, patch) \ ((major << 24) | (minor << 16) | patch)
View file
obs-studio-25.0.2.tar.xz/plugins/linux-v4l2/v4l2-controls.c -> obs-studio-25.0.3.tar.xz/plugins/linux-v4l2/v4l2-controls.c
Changed
@@ -86,11 +86,58 @@ return 0; } +#define INVALID_CONTROL_FLAGS \ + (V4L2_CTRL_FLAG_DISABLED | V4L2_CTRL_FLAG_READ_ONLY | \ + V4L2_CTRL_FLAG_VOLATILE) + +static inline bool valid_control(struct v4l2_queryctrl *qctrl) +{ + return (qctrl->flags & INVALID_CONTROL_FLAGS) == 0; +} + +static inline bool add_control_property(obs_properties_t *props, + obs_data_t *settings, int_fast32_t dev, + struct v4l2_queryctrl *qctrl) +{ + obs_property_t *prop = NULL; + + if (!valid_control(qctrl)) { + return; + } + + switch (qctrl->type) { + case V4L2_CTRL_TYPE_INTEGER: + prop = obs_properties_add_int_slider( + props, (char *)qctrl->name, (char *)qctrl->name, + qctrl->minimum, qctrl->maximum, qctrl->step); + obs_data_set_default_int(settings, (char *)qctrl->name, + qctrl->default_value); + obs_property_set_modified_callback2(prop, v4l2_control_changed, + UINT_TO_POINTER(qctrl->id)); + break; + case V4L2_CTRL_TYPE_BOOLEAN: + prop = obs_properties_add_bool(props, (char *)qctrl->name, + (char *)qctrl->name); + obs_data_set_default_bool(settings, (char *)qctrl->name, + qctrl->default_value); + obs_property_set_modified_callback2(prop, v4l2_control_changed, + UINT_TO_POINTER(qctrl->id)); + break; + case V4L2_CTRL_TYPE_MENU: + case V4L2_CTRL_TYPE_INTEGER_MENU: + v4l2_update_controls_menu(dev, props, qctrl); + obs_data_set_default_int(settings, (char *)qctrl->name, + qctrl->default_value); + blog(LOG_INFO, "setting default for %s to %d", + (char *)qctrl->name, qctrl->default_value); + break; + } +} + int_fast32_t v4l2_update_controls(int_fast32_t dev, obs_properties_t *props, obs_data_t *settings) { struct v4l2_queryctrl qctrl; - obs_property_t *prop = NULL; if (!dev || !props) return -1; @@ -98,55 +145,8 @@ memset(&qctrl, 0, sizeof(qctrl)); qctrl.id = V4L2_CTRL_FLAG_NEXT_CTRL; while (0 == v4l2_ioctl(dev, VIDIOC_QUERYCTRL, &qctrl)) { + add_control_property(props, settings, dev, &qctrl); qctrl.id |= V4L2_CTRL_FLAG_NEXT_CTRL; - - if (qctrl.flags & V4L2_CTRL_FLAG_DISABLED) { - blog(LOG_INFO, "found control %s but it is disabled", - qctrl.name); - continue; - } - - if (qctrl.flags & V4L2_CTRL_FLAG_READ_ONLY) { - blog(LOG_INFO, "found control %s but it is readonly", - qctrl.name); - continue; - } - - if (qctrl.flags & V4L2_CTRL_FLAG_VOLATILE) { - blog(LOG_INFO, "found control %s but it is volatile", - qctrl.name); - continue; - } - - switch (qctrl.type) { - case V4L2_CTRL_TYPE_INTEGER: - prop = obs_properties_add_int_slider( - props, (char *)qctrl.name, (char *)qctrl.name, - qctrl.minimum, qctrl.maximum, qctrl.step); - obs_data_set_default_int(settings, (char *)qctrl.name, - qctrl.default_value); - obs_property_set_modified_callback2( - prop, v4l2_control_changed, - UINT_TO_POINTER(qctrl.id)); - break; - case V4L2_CTRL_TYPE_BOOLEAN: - prop = obs_properties_add_bool( - props, (char *)qctrl.name, (char *)qctrl.name); - obs_data_set_default_bool(settings, (char *)qctrl.name, - qctrl.default_value); - obs_property_set_modified_callback2( - prop, v4l2_control_changed, - UINT_TO_POINTER(qctrl.id)); - break; - case V4L2_CTRL_TYPE_MENU: - case V4L2_CTRL_TYPE_INTEGER_MENU: - v4l2_update_controls_menu(dev, props, &qctrl); - obs_data_set_default_int(settings, (char *)qctrl.name, - qctrl.default_value); - blog(LOG_INFO, "setting default for %s to %d", - (char *)qctrl.name, qctrl.default_value); - break; - } } return 0;
View file
obs-studio-25.0.2.tar.xz/plugins/obs-outputs/librtmp/rtmp.c -> obs-studio-25.0.3.tar.xz/plugins/obs-outputs/librtmp/rtmp.c
Changed
@@ -2583,7 +2583,7 @@ #if defined(USE_MBEDTLS) typedef mbedtls_md5_context MD5_CTX; -#if MBEDTLS_VERSION_NUMBER >= 0x02040000 +#if MBEDTLS_VERSION_NUMBER >= 0x02070000 #define MD5_Init(ctx) mbedtls_md5_init(ctx); mbedtls_md5_starts_ret(ctx) #define MD5_Update(ctx,data,len) mbedtls_md5_update_ret(ctx,(unsigned char *)data,len) #define MD5_Final(dig,ctx) mbedtls_md5_finish_ret(ctx,dig); mbedtls_md5_free(ctx)
View file
obs-studio-25.0.2.tar.xz/plugins/obs-outputs/librtmp/rtmp.h -> obs-studio-25.0.3.tar.xz/plugins/obs-outputs/librtmp/rtmp.h
Changed
@@ -156,11 +156,6 @@ #define TLS_shutdown(s) gnutls_bye(s, GNUTLS_SHUT_RDWR) #define TLS_close(s) gnutls_deinit(s) -#elif defined(USE_ONLY_MD5) -#include "md5.h" -#include "cencode.h" -#define MD5_DIGEST_LENGTH 16 - #else /* USE_OPENSSL */ #define TLS_CTX SSL_CTX * #define TLS_client(ctx,s) s = SSL_new(ctx) @@ -173,6 +168,10 @@ #define TLS_close(s) SSL_free(s) #endif +#elif defined(USE_ONLY_MD5) +#include "md5.h" +#include "cencode.h" +#define MD5_DIGEST_LENGTH 16 #endif #ifdef __cplusplus
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.