pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/obs-studio obs-studio: Update to 24.0.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/d612e36b3ab6
branches: trunk
changeset: 402081:d612e36b3ab6
user: nia <nia%pkgsrc.org@localhost>
date: Thu Oct 03 20:33:15 2019 +0000
description:
obs-studio: Update to 24.0.1
24.0.1 Hotfix
Browser sources will now have their pre-24.0 audio behavior by default; to use OBS to control the browser source audio, users must now use the "Control Audio via OBS" option in the browser source
properties. This change was made as a safety precaution because it changed user configurations compared with how the browser audio used to function, which confused some users.
Fixed an issue where certain cameras (particularly C920 cameras) would output with a lot of delay depending on the drivers installed
Fixed a crash on startup
Fixed a crash that would happen when closing the Mixer chat window
24.0 New Features
Added the ability to pause while recording to allow seamless on-the-fly removal of video segments. This can only be used when not sharing an encoder with the stream. [Jim]
Added an option to automatically adjust bitrate when congestion occurs to advanced settings, which is an alternative to dropping frames (available in advanced settings). Note that this currently
only works with RTMP, and severe congestion may cause increased delay to viewers. [Jim/pkv]
Added the ability to select multiple sources on the preview by box selection [Dillon]
Added the ability to create custom browser docks in the View -> Docks menu. This allows you to open extra dockable webpages whenever OBS opens [Jim]
Browser sources can now have their volume adjusted via the audio mixer, or have filters applied to them. Additionally, you can now change whether the browser source outputs to speakers or to
stream only via the audio monitoring settings in advanced audio properties. [Osiris/pkv/Jim]
Added a script to pause recording when a specific scene is active [cg2121]
Added a "Hotkey Focus Behavior" option to advanced settings, which allows you to set whether hotkeys are disabled depending on whether you have the main window in focus or not [jb-alvarado/Jim]
Added an option to general settings to allow users to confirm when clicking the "Stop Recording" button [glikely]
Added channels widget for restream.io service integration [SoftwareArchitector]
Added the "Area" shader as a downscale shader in video settings [jpark37]
Added an "Enable Preview" button to the main window when the preview is disabled [cg2121]
Added (or rather fixed) hardware acceleration support for decoding media files when using the media source where applicable [Jim]
24.0 Tweaks/Fixes
Updated all dependencies on Windows (such as FFmpeg, x264, CEF) to their latest versions [Jim]
Made a number of optimizations and performance improvements [jpark37]
Made a number of performance improvements to QSV [brittneysclark]
Changed default recording format to mkv instead of flv [WizardCM]
Recording now automatically stop if there is less than 50 megabytes left of disk space available [cg2121]
Fixed a number of issues with Linux window capture [kkartaltepe]
Fixed the tray icon showing up on startup even when it was turned off [Jim]
Fixed a bug where encoders could lock up when an encode call fails [Jim]
Fixed an issue where projectors would have a gray background rather than a black background [Jim]
Fixed a bug where secondary Twitch/Mixer browser panels would stop appearing [Jim]
Fixed a freeze that could happen under rare circumstances when shutting down [Jim]
If no tracks are selected when recording in advanced output mode, it will now default to the same track being used for streaming [cg2121]
diffstat:
multimedia/obs-studio/Makefile | 7 +-
multimedia/obs-studio/PLIST | 12 ++++-
multimedia/obs-studio/PLIST.Linux | 4 +-
multimedia/obs-studio/PLIST.NetBSD | 4 +-
multimedia/obs-studio/distinfo | 16 ++--
multimedia/obs-studio/patches/patch-libobs_graphics_graphics.h | 12 ++--
multimedia/obs-studio/patches/patch-libobs_obs-nix.c | 14 ++--
multimedia/obs-studio/patches/patch-plugins_obs-outputs_net-if.h | 27 ++++++---
8 files changed, 58 insertions(+), 38 deletions(-)
diffs (275 lines):
diff -r 582a0cbd7d78 -r d612e36b3ab6 multimedia/obs-studio/Makefile
--- a/multimedia/obs-studio/Makefile Thu Oct 03 20:20:12 2019 +0000
+++ b/multimedia/obs-studio/Makefile Thu Oct 03 20:33:15 2019 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2019/09/18 14:17:14 ryoon Exp $
+# $NetBSD: Makefile,v 1.6 2019/10/03 20:33:15 nia Exp $
-DISTNAME= obs-studio-23.2.1
-PKGREVISION= 4
+DISTNAME= obs-studio-24.0.1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GITHUB:=obsproject/}
@@ -17,7 +16,7 @@
CMAKE_ARGS+= -DDISABLE_LIBFDK=BOOL:ON
CMAKE_ARGS+= -DDISABLE_VLC=BOOL:ON
-DEPENDS+= swig3>=3.0:../../devel/swig3
+TOOL_DEPENDS+= swig3>=3.0:../../devel/swig3
# Python 3 only
PYTHON_VERSIONS_INCOMPATIBLE= 27
diff -r 582a0cbd7d78 -r d612e36b3ab6 multimedia/obs-studio/PLIST
--- a/multimedia/obs-studio/PLIST Thu Oct 03 20:20:12 2019 +0000
+++ b/multimedia/obs-studio/PLIST Thu Oct 03 20:33:15 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2019/06/30 21:01:24 nia Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/10/03 20:33:15 nia Exp $
bin/obs
bin/obs-ffmpeg-mux
include/obs/audio-monitoring/pulse/pulseaudio-wrapper.h
@@ -139,6 +139,7 @@
share/obs/libobs/repeat.effect
share/obs/libobs/solid.effect
share/obs/obs-plugins/decklink-ouput-ui/.keepme
+share/obs/obs-plugins/frontend-tools/locale/af-ZA.ini
share/obs/obs-plugins/frontend-tools/locale/ar-SA.ini
share/obs/obs-plugins/frontend-tools/locale/bg-BG.ini
share/obs/obs-plugins/frontend-tools/locale/bn-BD.ini
@@ -156,6 +157,7 @@
share/obs/obs-plugins/frontend-tools/locale/fil-PH.ini
share/obs/obs-plugins/frontend-tools/locale/fr-FR.ini
share/obs/obs-plugins/frontend-tools/locale/gd-GB.ini
+share/obs/obs-plugins/frontend-tools/locale/gl-ES.ini
share/obs/obs-plugins/frontend-tools/locale/he-IL.ini
share/obs/obs-plugins/frontend-tools/locale/hr-HR.ini
share/obs/obs-plugins/frontend-tools/locale/hu-HU.ini
@@ -174,6 +176,7 @@
share/obs/obs-plugins/frontend-tools/locale/ro-RO.ini
share/obs/obs-plugins/frontend-tools/locale/ru-RU.ini
share/obs/obs-plugins/frontend-tools/locale/sk-SK.ini
+share/obs/obs-plugins/frontend-tools/locale/sl-SI.ini
share/obs/obs-plugins/frontend-tools/locale/sr-CS.ini
share/obs/obs-plugins/frontend-tools/locale/sr-SP.ini
share/obs/obs-plugins/frontend-tools/locale/sv-SE.ini
@@ -192,6 +195,7 @@
share/obs/obs-plugins/frontend-tools/scripts/clock-source/second.png
share/obs/obs-plugins/frontend-tools/scripts/countdown.lua
share/obs/obs-plugins/frontend-tools/scripts/instant-replay.lua
+share/obs/obs-plugins/frontend-tools/scripts/pause-scene.lua
share/obs/obs-plugins/frontend-tools/scripts/url-text.py
share/obs/obs-plugins/image-source/locale/ar-SA.ini
share/obs/obs-plugins/image-source/locale/bg-BG.ini
@@ -487,6 +491,7 @@
share/obs/obs-plugins/obs-outputs/locale/es-ES.ini
share/obs/obs-plugins/obs-outputs/locale/et-EE.ini
share/obs/obs-plugins/obs-outputs/locale/eu-ES.ini
+share/obs/obs-plugins/obs-outputs/locale/fa-IR.ini
share/obs/obs-plugins/obs-outputs/locale/fi-FI.ini
share/obs/obs-plugins/obs-outputs/locale/fil-PH.ini
share/obs/obs-plugins/obs-outputs/locale/fr-FR.ini
@@ -555,6 +560,7 @@
share/obs/obs-plugins/obs-transitions/locale/ro-RO.ini
share/obs/obs-plugins/obs-transitions/locale/ru-RU.ini
share/obs/obs-plugins/obs-transitions/locale/sk-SK.ini
+share/obs/obs-plugins/obs-transitions/locale/sl-SI.ini
share/obs/obs-plugins/obs-transitions/locale/sr-CS.ini
share/obs/obs-plugins/obs-transitions/locale/sr-SP.ini
share/obs/obs-plugins/obs-transitions/locale/sv-SE.ini
@@ -650,6 +656,7 @@
share/obs/obs-plugins/obs-x264/locale/zh-CN.ini
share/obs/obs-plugins/obs-x264/locale/zh-TW.ini
share/obs/obs-plugins/rtmp-services/locale/ar-SA.ini
+share/obs/obs-plugins/rtmp-services/locale/bg-BG.ini
share/obs/obs-plugins/rtmp-services/locale/bn-BD.ini
share/obs/obs-plugins/rtmp-services/locale/ca-ES.ini
share/obs/obs-plugins/rtmp-services/locale/cs-CZ.ini
@@ -660,6 +667,7 @@
share/obs/obs-plugins/rtmp-services/locale/es-ES.ini
share/obs/obs-plugins/rtmp-services/locale/et-EE.ini
share/obs/obs-plugins/rtmp-services/locale/eu-ES.ini
+share/obs/obs-plugins/rtmp-services/locale/fa-IR.ini
share/obs/obs-plugins/rtmp-services/locale/fi-FI.ini
share/obs/obs-plugins/rtmp-services/locale/fil-PH.ini
share/obs/obs-plugins/rtmp-services/locale/fr-FR.ini
@@ -749,6 +757,7 @@
share/obs/obs-studio/locale.ini
share/obs/obs-studio/locale/af-ZA.ini
share/obs/obs-studio/locale/ar-SA.ini
+share/obs/obs-studio/locale/az-AZ.ini
share/obs/obs-studio/locale/bg-BG.ini
share/obs/obs-studio/locale/bn-BD.ini
share/obs/obs-studio/locale/ca-ES.ini
@@ -823,6 +832,7 @@
share/obs/obs-studio/themes/Dark/down.svg
share/obs/obs-studio/themes/Dark/expand.svg
share/obs/obs-studio/themes/Dark/locked.svg
+share/obs/obs-studio/themes/Dark/media-pause.svg
share/obs/obs-studio/themes/Dark/minus.svg
share/obs/obs-studio/themes/Dark/mute.svg
share/obs/obs-studio/themes/Dark/no_sources.svg
diff -r 582a0cbd7d78 -r d612e36b3ab6 multimedia/obs-studio/PLIST.Linux
--- a/multimedia/obs-studio/PLIST.Linux Thu Oct 03 20:20:12 2019 +0000
+++ b/multimedia/obs-studio/PLIST.Linux Thu Oct 03 20:33:15 2019 +0000
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST.Linux,v 1.3 2019/07/06 14:43:41 nia Exp $
+@comment $NetBSD: PLIST.Linux,v 1.4 2019/10/03 20:33:15 nia Exp $
lib/obs-plugins/linux-alsa.so
lib/obs-plugins/linux-decklink.so
lib/obs-plugins/linux-v4l2.so
share/obs/obs-plugins/linux-alsa/locale/ar-SA.ini
+share/obs/obs-plugins/linux-alsa/locale/bg-BG.ini
share/obs/obs-plugins/linux-alsa/locale/bn-BD.ini
share/obs/obs-plugins/linux-alsa/locale/ca-ES.ini
share/obs/obs-plugins/linux-alsa/locale/cs-CZ.ini
@@ -34,6 +35,7 @@
share/obs/obs-plugins/linux-alsa/locale/ro-RO.ini
share/obs/obs-plugins/linux-alsa/locale/ru-RU.ini
share/obs/obs-plugins/linux-alsa/locale/sk-SK.ini
+share/obs/obs-plugins/linux-alsa/locale/sl-SI.ini
share/obs/obs-plugins/linux-alsa/locale/sr-CS.ini
share/obs/obs-plugins/linux-alsa/locale/sr-SP.ini
share/obs/obs-plugins/linux-alsa/locale/sv-SE.ini
diff -r 582a0cbd7d78 -r d612e36b3ab6 multimedia/obs-studio/PLIST.NetBSD
--- a/multimedia/obs-studio/PLIST.NetBSD Thu Oct 03 20:20:12 2019 +0000
+++ b/multimedia/obs-studio/PLIST.NetBSD Thu Oct 03 20:33:15 2019 +0000
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST.NetBSD,v 1.1 2019/06/30 21:01:24 nia Exp $
+@comment $NetBSD: PLIST.NetBSD,v 1.2 2019/10/03 20:33:15 nia Exp $
lib/obs-plugins/linux-alsa.so
share/obs/obs-plugins/linux-alsa/locale/ar-SA.ini
+share/obs/obs-plugins/linux-alsa/locale/bg-BG.ini
share/obs/obs-plugins/linux-alsa/locale/bn-BD.ini
share/obs/obs-plugins/linux-alsa/locale/ca-ES.ini
share/obs/obs-plugins/linux-alsa/locale/cs-CZ.ini
@@ -32,6 +33,7 @@
share/obs/obs-plugins/linux-alsa/locale/ro-RO.ini
share/obs/obs-plugins/linux-alsa/locale/ru-RU.ini
share/obs/obs-plugins/linux-alsa/locale/sk-SK.ini
+share/obs/obs-plugins/linux-alsa/locale/sl-SI.ini
share/obs/obs-plugins/linux-alsa/locale/sr-CS.ini
share/obs/obs-plugins/linux-alsa/locale/sr-SP.ini
share/obs/obs-plugins/linux-alsa/locale/sv-SE.ini
diff -r 582a0cbd7d78 -r d612e36b3ab6 multimedia/obs-studio/distinfo
--- a/multimedia/obs-studio/distinfo Thu Oct 03 20:20:12 2019 +0000
+++ b/multimedia/obs-studio/distinfo Thu Oct 03 20:33:15 2019 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.1 2019/06/30 21:01:24 nia Exp $
+$NetBSD: distinfo,v 1.2 2019/10/03 20:33:15 nia Exp $
-SHA1 (obs-studio-23.2.1.tar.gz) = e3ecba635f87d4dc4423f5d85a500abe5232acfc
-RMD160 (obs-studio-23.2.1.tar.gz) = c289dda912138274698332235ef53edbccfc3e8e
-SHA512 (obs-studio-23.2.1.tar.gz) = aabc23d825c2ca3f40274a8e2c4935939dab4955d929c44b28cebde114e808543c1c0dc05791bb6d9f2611effb0f2cb3e20c9a653154c30a9851ea94e74c8169
-Size (obs-studio-23.2.1.tar.gz) = 6204515 bytes
+SHA1 (obs-studio-24.0.1.tar.gz) = efed70ace4dcde2d011b8e1655ba69d02d90f0c9
+RMD160 (obs-studio-24.0.1.tar.gz) = 8620db4865e6e9686d2f3a4a151266803c36d321
+SHA512 (obs-studio-24.0.1.tar.gz) = 53e01ef6bdbb6c226ef0c423562e1584597b1a16c495061b009e6c63cd497ef564a0bae16b83e09a0aa6fb4d632ec8f488b41a660f7c2fe61c356ca36f41368e
+Size (obs-studio-24.0.1.tar.gz) = 6284314 bytes
SHA1 (patch-UI_obs-app.cpp) = 6f9fc9e1882bbc5fcf263876f7b5624586f636c7
-SHA1 (patch-libobs_graphics_graphics.h) = 8074e4f482ec8d393e58c0bd5b54f285c76ad815
-SHA1 (patch-libobs_obs-nix.c) = 1df73c37851f4870893a4d03e016d58503f359af
+SHA1 (patch-libobs_graphics_graphics.h) = a6e403a03574f7628ac1f8b191b57f9d573c63f0
+SHA1 (patch-libobs_obs-nix.c) = 424721707087e3ddc27cabe6f67832c2bb324814
SHA1 (patch-plugins_CMakeLists.txt) = 479c6fef54d7dafed70b0f7d369029021b572214
-SHA1 (patch-plugins_obs-outputs_net-if.h) = 246b624586b841f47aa7420c0cb462ff003188bb
+SHA1 (patch-plugins_obs-outputs_net-if.h) = 0f23d809d0616c8a9df77520b9e5ee0a3938778e
diff -r 582a0cbd7d78 -r d612e36b3ab6 multimedia/obs-studio/patches/patch-libobs_graphics_graphics.h
--- a/multimedia/obs-studio/patches/patch-libobs_graphics_graphics.h Thu Oct 03 20:20:12 2019 +0000
+++ b/multimedia/obs-studio/patches/patch-libobs_graphics_graphics.h Thu Oct 03 20:33:15 2019 +0000
@@ -1,15 +1,15 @@
-$NetBSD: patch-libobs_graphics_graphics.h,v 1.1 2019/06/30 21:01:24 nia Exp $
+$NetBSD: patch-libobs_graphics_graphics.h,v 1.2 2019/10/03 20:33:15 nia Exp $
Support NetBSD.
---- libobs/graphics/graphics.h.orig 2019-06-14 05:28:10.000000000 +0000
+--- libobs/graphics/graphics.h.orig 2019-09-20 15:14:16.000000000 +0000
+++ libobs/graphics/graphics.h
-@@ -461,7 +461,7 @@ struct gs_window {
- void *hwnd;
+@@ -468,7 +468,7 @@ struct gs_window {
+ void *hwnd;
#elif defined(__APPLE__)
- __unsafe_unretained id view;
+ __unsafe_unretained id view;
-#elif defined(__linux__) || defined(__FreeBSD__)
+#else
/* I'm not sure how portable defining id to uint32_t is. */
uint32_t id;
- void* display;
+ void *display;
diff -r 582a0cbd7d78 -r d612e36b3ab6 multimedia/obs-studio/patches/patch-libobs_obs-nix.c
--- a/multimedia/obs-studio/patches/patch-libobs_obs-nix.c Thu Oct 03 20:20:12 2019 +0000
+++ b/multimedia/obs-studio/patches/patch-libobs_obs-nix.c Thu Oct 03 20:33:15 2019 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-libobs_obs-nix.c,v 1.1 2019/06/30 21:01:24 nia Exp $
+$NetBSD: patch-libobs_obs-nix.c,v 1.2 2019/10/03 20:33:15 nia Exp $
Support NetBSD.
---- libobs/obs-nix.c.orig 2019-06-14 05:28:10.000000000 +0000
+--- libobs/obs-nix.c.orig 2019-09-20 15:14:16.000000000 +0000
+++ libobs/obs-nix.c
@@ -26,7 +26,9 @@
#if defined(__FreeBSD__)
@@ -14,7 +14,7 @@
#include <sys/utsname.h>
#include <xcb/xcb.h>
#if USE_XINPUT
-@@ -218,6 +220,7 @@ static void log_processor_info(void)
+@@ -216,6 +218,7 @@ static void log_processor_info(void)
static void log_memory_info(void)
{
@@ -22,10 +22,10 @@
struct sysinfo info;
if (sysinfo(&info) < 0)
return;
-@@ -226,6 +229,7 @@ static void log_memory_info(void)
- (uint64_t)info.totalram * info.mem_unit / 1024 / 1024,
- ((uint64_t)info.freeram + (uint64_t)info.bufferram) *
- info.mem_unit / 1024 / 1024);
+@@ -225,6 +228,7 @@ static void log_memory_info(void)
+ (uint64_t)info.totalram * info.mem_unit / 1024 / 1024,
+ ((uint64_t)info.freeram + (uint64_t)info.bufferram) *
+ info.mem_unit / 1024 / 1024);
+#endif
}
diff -r 582a0cbd7d78 -r d612e36b3ab6 multimedia/obs-studio/patches/patch-plugins_obs-outputs_net-if.h
--- a/multimedia/obs-studio/patches/patch-plugins_obs-outputs_net-if.h Thu Oct 03 20:20:12 2019 +0000
+++ b/multimedia/obs-studio/patches/patch-plugins_obs-outputs_net-if.h Thu Oct 03 20:33:15 2019 +0000
@@ -1,15 +1,22 @@
-$NetBSD: patch-plugins_obs-outputs_net-if.h,v 1.1 2019/06/30 21:01:24 nia Exp $
+$NetBSD: patch-plugins_obs-outputs_net-if.h,v 1.2 2019/10/03 20:33:15 nia Exp $
Support NetBSD.
---- plugins/obs-outputs/net-if.h.orig 2019-06-14 05:28:10.000000000 +0000
+--- plugins/obs-outputs/net-if.h.orig 2019-09-20 15:14:16.000000000 +0000
+++ plugins/obs-outputs/net-if.h
-@@ -28,7 +28,7 @@
+@@ -28,13 +28,13 @@
- # ifdef __linux__
- # include <linux/if_link.h>
--# elif __FreeBSD__
-+# elif defined(__FreeBSD__) || defined(__NetBSD__)
- # include <netinet/in.h>
- # ifndef _GNU_SOURCE
- # define _GNU_SOURCE
+ #ifdef __linux__
+ #include <linux/if_link.h>
+-#elif __FreeBSD__
++#elif defined(__FreeBSD__) || defined(__NetBSD__)
+ #include <netinet/in.h>
+ #ifndef _GNU_SOURCE
+ #define _GNU_SOURCE
+ #define __NET_IF_GNU_SOURCE__
+ #endif //_GNU_SOURCE
+-#endif //__FreeBSD__
++#endif //defined(__FreeBSD__) || defined(__NetBSD__)
+
+ #include <ifaddrs.h>
+ #include <netdb.h>
Home |
Main Index |
Thread Index |
Old Index