Commit Graph

5769 Commits (3c1f17ca662d4f794e3034035f3bb5d888b2acca)

Author SHA1 Message Date
Jim 3c1f17ca66
Merge pull request #1420 from obsproject/deps
CI: Update OSX Deps package
2018-08-17 14:59:57 -07:00
Jim d6699ed85d
Merge pull request #1411 from RytoEX/update-log-bitness
UI: Make OBS bitness more specific in title bar and log
2018-08-17 14:59:45 -07:00
Jim c18fc3b672
Merge pull request #1417 from sorayuki/master
win-capture: Avoid segfault when retrieve size
2018-08-17 14:58:39 -07:00
Jim 2f33988aea
Merge pull request #1427 from Fenrirthviti/theme-fixes
UI: Theme fixes
2018-08-17 10:36:29 -07:00
DungFu 5cbc78b0a9 UI: Hide Dock Icon on Mac OSX when minimizing to tray
This hides the dock icon when minimizing OBS to the tray on OSX. This
also fixes the bugs with minimizing on startup (and hides the dock icon
correctly in that case as well).

Closes obsproject/obs-studio#1430
2018-08-17 10:34:11 -07:00
Joel Bethke b58f5c7d4b UI: Update Acri theme 2018-08-17 12:16:20 -05:00
Andreas Reischuck 71d2e870bb UI: Fix multiview hang
This could cause an infinite recursion if "show_in_multiview" was false
for a scene.

Closes obsproject/obs-studio#1426
2018-08-17 09:22:32 -07:00
jp9000 8208a54df0 Revert "UI: Use qss themeID for red labels in properties view"
This reverts commit 10022a41a9.
2018-08-17 08:19:41 -07:00
Joel Bethke 98b9f7036d UI: Fix dark theme link color 2018-08-16 16:46:22 -05:00
Joel Bethke 0cdd8fab32 UI: Update Rachni theme
Fixes a few small issues with the new SourceTree, warning/error
labels, and properties view colors.
2018-08-16 16:46:13 -05:00
jp9000 7bc443b31f obs-browser: Fix "shutdown when invisible" issue
The browser source would always create the source on first start
regardless of whether "shutdown when not showing" was set or not and the
source wasn't visible.  This fixes the issue by checking whether the
source is actually showing or not in that case.
2018-08-16 14:25:16 -07:00
jp9000 10022a41a9 UI: Use qss themeID for red labels in properties view 2018-08-16 13:19:15 -07:00
jp9000 fb4a29a751 UI: Use theme for red message in audio settings 2018-08-16 13:15:43 -07:00
jp9000 90327563e8 UI: Allow centering/stretching for groups items 2018-08-16 12:42:23 -07:00
jp9000 448399d5ea UI: Fix group sub-item selection bug
If a group's sub-item is selected in the list box and you select the
group via the preview, the sub-item would be deselected, but that
deselection would not be applied to the sub-item in the list box despite
being deselected.
2018-08-16 12:40:45 -07:00
jp9000 62d08fe38f UI: Fix flip/rotate transform menu with group items
Fixes an issue where the user could not perform a horizontal/vertical
flip, or rotate group sub-items via the transform context menu.
2018-08-16 08:44:42 -07:00
jp9000 e6dd009386 libobs: Add function to force a sceneitem transform update
Useful when you need to modify transform properties of group sub-items
and have the transform available immediately (group sub-items always
automatically defer their transform update to the next frame).
2018-08-16 08:42:19 -07:00
jp9000 b5022385d1 UI: Fix bug grabbing handles of group sub-items
When a group's transform was scaled down, that scale would not apply to
grabbing the handles of sub-items, so the "handle radius" would
incorrectly be miscalculated (the handle radius calculation for the
sub-item would be scaled down by the parent's scaling, making it too
small to grab).  Instead of calculating relative to the current parent,
this fixes the issue by operating in screen space at all times.
2018-08-16 04:49:21 -07:00
Jim 2541be5b11
Merge pull request #1352 from cg2121/replay-buffer-button-checkable
UI: Set replay buffer button as checkable
2018-08-15 11:35:33 -07:00
cg2121 b0b6f1f0e2 UI: Set replay buffer button as checkable 2018-08-15 12:27:32 -05:00
jp9000 7afe99188e libobs: Fix applying group transform of flipped sources
Fixes a bug where sources that are flipped vertically and/or
horizontally would not maintain their flipped state.
2018-08-15 10:02:05 -07:00
jp9000 07813e2bd0 UI: Allow resetting transform of group sub-items 2018-08-15 10:01:48 -07:00
jp9000 a69f72654e rtmp-services: Do not check for valid URL if using "auto"
"Auto" is sort of a special use-case for certain services
(Twitch/Mixer), and the code recently added in be8ddc06a would
unintentionally override it.  This would for example cause the "Auto"
setting on Twitch to set the user to use an Asia server unintentionally
because "auto" is not in the json file.
2018-08-14 13:12:39 -07:00
jp9000 caceb62328 libobs: Initialize hotkey pair ID variable properly
The value of 0 can represent a valid hotkey ID, so make sure that when
we initialize a hotkey variable, that we use OBS_INVALID_HOTKEY_ID or
OBS_INVALID_HOTKEY_PAIR_ID and not 0.

This fixes a bug where scene item hotkey pair IDs would be initialized
to 0, and it would unregister valid unrelated hotkeys.  Particularly,
the start/stop streaming hotkey pair ID, which would commonly be the
first hotkey pair created, thus having the hotkey pair ID of 0.  The
start/streaming hotkey pair would unintentionally be unregistered via
code in obs-scene.c.
2018-08-14 13:06:05 -07:00
jp9000 7bc3c87163 UI: Allow the transform dialog for group sub-sources 2018-08-14 13:05:34 -07:00
jp9000 fb58bcf75f UI: If users renames a source, only revert on Esc
Fixes a design flaw where if renaming a source, the source's name would
revert if you de-focused (clicked away) from the rename edit widget.
Instead, the functionality for revert should really only just be when
the user presses the Escape key.
2018-08-14 13:03:07 -07:00
jp9000 1c3f87ca7b obs-browser: Fix a number of bugs 2018-08-14 13:02:38 -07:00
jp9000 ee513000dc UI: Protect GUID generation in mutex
GUID can be generated/retrieved by both the updater thread and the main
thread, so make sure it's guarded by a mutex.
2018-08-13 01:19:23 -07:00
jp9000 e189082439 UI: Make the information dialog a big wider
Fixes an issue where the web page could have both horizontal and
vertical scrollbars, making the information dialog page look a bit
unsightly.
2018-08-13 01:19:23 -07:00
jp9000 fc9393324c UI: Add release candidate checking to info dialog
Allows the ability to specify release candidate versions in the
whatsnew.json in order to allow startup information dialogs to be
displayed to the user which are specific to release candidates.
2018-08-13 01:19:23 -07:00
jp9000 e3c2202791 cmake: Add release candidate versions/cmake variables
Allows specifying a release candidate version, and outputs release
candidate version variables to libobs/obs-config.h.  Useful for using
cmake to specify a release candidate version.
2018-08-13 01:19:23 -07:00
Richard Stanway 41b7f85332
libobs/media-io: Prevent overwriting of remux input 2018-08-12 17:06:39 +02:00
jp9000 a2bc0f2e4f libobs: Update version from latest tag
Originally, the build numbers 21.1.1 and  21.1.2 weren't added to the
master branch -- only to the two bugfix tag branches.  This is being
added again in order to build some test builds that don't prompt for
update.
2018-08-11 07:09:49 -07:00
Richard Stanway 144d23a9cc
obs-qsv11: Protect context variable in clear_data 2018-08-11 02:57:23 +02:00
Richard Stanway 8fdbf60228
rtmp-services: Remove unnecessary null check 2018-08-11 02:54:50 +02:00
Richard Stanway 750f0f2ea4
libobs: Remove unnecessary null check 2018-08-11 01:56:08 +02:00
jp9000 4d38e054e3 UI: Add adv. settings checkbox for browser HW accel
Adds a checkbox to advanced settings that allows the user to
enable/disable browser source hardware acceleration on windows.
2018-08-10 06:33:41 -07:00
jp9000 fc37cbcca4 libobs: Add functions to get/set global private data
Allows the ability to set custom global OBS context private data for
allowing the frontend to communicate variables with plugins in an
indirect way.
2018-08-10 06:09:23 -07:00
jp9000 c43702e335 libobs: Move function declarations to correct spot
These function declarations were in the wrong section.
2018-08-10 06:09:23 -07:00
jp9000 c7a2a674bc UI: Use NVIDIA laptop GPU hint
Changes the default "preferred" GPU to the NVIDIA GPU when running the
program on NVIDIA laptops.
2018-08-10 06:09:23 -07:00
Colin Edwards 62917b503a CI: Update OSX Deps package 2018-08-09 22:29:21 -05:00
sorayuki b3ed50aa08
win-capture: Avoid segfault when retrieve size
When changing size of a game-capture scene item in preview window, 
if the capture target window closed, it may crash.
2018-08-08 16:28:40 +08:00
jp9000 8695be6a34 Revert "libobs-d3d11: Initialize variable to zero"
This reverts commit 671b6032e2.

Closes obsproject/obs-studio#1413
2018-08-07 06:16:59 -07:00
Jim a00c487670
Merge pull request #1412 from sorayuki/master
win-capture: Avoid tex size mismatch for cursor
2018-08-07 02:35:30 -07:00
sorayuki ce53c5cc70
win-capture: Avoid tex size mismatch for cursor
Re-fetch texture when cursor's either width or height changed.

When the cursor icon changed and the new one has the same width or height,
it may not recreate the texture and thus cause memory access violation.
2018-08-07 17:15:07 +08:00
Ryan Foster 5fd8ebd14c UI: Make OBS bitness more specific in title bar and log
This commit explicitly puts "32-bit" in the title bar and OBS log for
32-bit versions of OBS. It also changes "64bit" to "64-bit" to match the
string used for Windows version info.
2018-08-07 01:15:03 -04:00
Jim abbea9ef7d
Merge pull request #1408 from DDRBoxman/deps
CI: Fix building libvpx dep on osx
2018-08-05 20:55:25 -07:00
Colin Edwards 5411d6666e CI: Fix building libvpx dep on osx 2018-08-05 22:23:57 -05:00
Jim 4dc57ef24f
Merge pull request #1373 from Xaymar/plugins_enc-amf
enc-amf:  Version 2.4.2
2018-08-05 20:02:06 -07:00
jp9000 be8ddc06a2 rtmp-services: Ensure set URL exists within server list
If the user had a valid service selected, but the server that the user
originally was using is now (for whatever reason) no longer listed, the
rtmp-common service would still use that server rather than any of the
newer servers, and the user would have to physically go in to their
settings to reconfigure to get it to use that new server.

Instead, make sure that the server the user has selected exists within
the server list, and if it doesn't, use the first server in the list
instead by default.
2018-08-05 18:50:13 -07:00