Commit Graph

5902 Commits (6c42d07751ccd613750b90609d02bcc9c704c79d)

Author SHA1 Message Date
Jim 324071f5a3
Merge pull request #1338 from VodBox/scene-item-colors
UI: Add Color Coding to Source Tree Widget
2018-08-01 17:42:29 -07:00
Jim fbd8d02c77
Merge pull request #1400 from Dmitry-Me/addMissingVaEnd01
win-mf: Add missing va_end() call
2018-08-01 13:31:59 -07:00
VodBox 0dca4318b2 UI: Add Color Coding to Source Tree Widget
This commit adds the ability to select a background color for a
scene-item, whether it's a custom color or one of eight presets.

As this is an initial implementation, it lacks theme customizability,
and it also lacks the ability for the user to set their own preset
colors, so only the hard-coded 8 are available.
2018-08-02 08:23:12 +12:00
Dmitry-Me d3863e837c win-mf: Add missing va_end() call 2018-08-01 18:12:08 +03:00
jp9000 7faad4b467 obs-browser: Add hardware acceleration option (win32) 2018-08-01 02:03:17 -07:00
Jim a7a2f21448
Merge pull request #1399 from Dmitry-Me/missingReturnInAssignment
UI: Add missing return statement
2018-08-01 01:36:03 -07:00
Dmitry-Me a5eb2b8e7e UI: Add missing return statement 2018-08-01 11:04:25 +03:00
Jim 6905b22c5f
Merge pull request #1391 from Dmitry-Me/fixPotentialNullDeref01
UI: Check pointer before the first dereference
2018-07-31 22:37:12 -07:00
cg2121 2e18745c37 UI: Uncheck record/replay buffer buttons if fail
Closes obsproject/obs-studio#1375
2018-07-31 21:35:06 -07:00
jp9000 b6665f9cc0 UI: Use QScopedPointer (not QPointer) where applicable
Contrary to what the name would have you believe, QPointer<> is not used
to delete a pointer when it leaves its specific scope.  Instead, it's
used to check to see if the pointer is still valid.  For most
QWidget-based objects, this is actually fine because QWidgets that are
assigned to layouts or other widgets will automatically be destroyed --
however, for non-widget objects, this can cause a memory leak.

This patch replaces QPointer with QScopedPointer where applicable to
prevent memory leaks.

Closes obsproject/obs-studio#1367
2018-07-31 21:14:52 -07:00
Jim a5d740373c
Merge pull request #1396 from RytoEX/dark-theme-fixes
UI: Fix disabled items in Dark theme being too light
2018-07-31 16:31:29 -07:00
Jim 1da698ca64
Merge pull request #1395 from RytoEX/add-bitness-to-crash-log
libobs: Log libobs bitness in crash logs
2018-07-31 16:30:52 -07:00
Alex Anderson 57f8c5e328 UI: Hide preview for sources and filters where possible
Hides the preview window for audio sources in the properties menu and
contextually in the filters menu to save on gui space.
2018-07-31 13:14:32 -07:00
Ryan Foster b5e0544c2b UI: Fix disabled items in Dark theme being too light
In the Dark theme, disabled UI elements had text that was too close in
color to enabled UI elements. This commit switches them to use the
"light" palette color instead of the "lighter" palette color.
2018-07-31 12:10:13 -04:00
Ryan Foster 6c76e9a736 libobs: Log libobs bitness in crash logs 2018-07-31 11:49:35 -04:00
Jim be2857f0bd
Merge pull request #1394 from SuslikV/patch-8
libobs-d3d11: Initialize variable to zero
2018-07-31 04:44:55 -07:00
cg2121 8f4edede4a UI: Add confirmation dialog if there are no sources
This adds a confirmation dialog for streaming or recording if
there are no sources.

Closes obsproject/obs-studio#1344
2018-07-31 04:28:43 -07:00
Jim 3fd33478f8
Merge pull request #1345 from TheMuso/fix-input-output-mac-audio-devices
libobs: Rework code for checking Mac audio device capabilities for mo…
2018-07-31 00:33:14 -07:00
SuslikV 671b6032e2
libobs-d3d11: Initialize variable to zero
Initialize variable (that will be used to change the resource) to zero.
2018-07-31 07:37:12 +02:00
Dmitry-Me 69f217003b UI: Check pointer before the first dereference 2018-07-30 15:11:41 +03:00
jp9000 a032bcc798 UI: Add intro startup page (windows)
Allows the ability to show a web page via CEF to the users on startup to
present and announce new features.
2018-07-29 23:32:23 -07:00
jp9000 28e3604a56 deps: Add json11 library for convenience
Adds a very basic and easy-to-use C++ library strictly for the sake of
convenience when using C++.
2018-07-29 22:15:03 -07:00
Richard Stanway 2d60c89a02
UI: Only allow stream/record hotkeys if the UI buttons are enabled
Currently the only thing preventing a user from trying to start multiple
streams or recordings is the UI buttons being disabled. The hotkey code
allowed the user to bypass that, which for streaming resulted in lots of
rtmp output connect threads spawning, which stomped all over each
other's data structures and resulted in crashes.
2018-07-28 15:27:49 +02:00
Jim ad23128836
Merge pull request #1387 from DDRBoxman/usagedesc
OSX: Add NSCamera and NSMicrophone UsageDescription for 10.14
2018-07-27 21:27:39 -07:00
Jim 8bf03e8caa
Merge pull request #1381 from Dmitry-Me/fixSectionNameTypo
Fix typo in contributor guide
2018-07-27 21:26:50 -07:00
Jim c79ff14985
Merge pull request #1384 from gburgwardt/master
rtmp-services: Add Piczel.TV server
2018-07-27 21:22:14 -07:00
Jim 324fcbcd92
Merge pull request #1386 from RytoEX/qt-511
CI: Update to Qt 5.11.1
2018-07-27 21:21:24 -07:00
Jim 74093253bf
Merge pull request #1385 from admshao/fix-startup-crash
UI: Fix start up crash with saved projectors
2018-07-27 21:20:43 -07:00
Colin Edwards 27b5c3be71 OSX: Add NSCamera and NSMicrophone UsageDescription for 10.14 2018-07-27 14:11:55 -05:00
Ryan Foster 729abd3825 CI: Use Qt 5.11.1 on Travis for macOS 2018-07-25 12:00:21 -04:00
Ryan Foster 6820a6b9ab CI: Use Qt 5.11.1 on AppVeyor for Windows 2018-07-25 11:59:59 -04:00
Ryan Foster 2129d12143 frontend-tools: Add QAction explicitly for Qt 5.11 compatibility 2018-07-25 11:59:58 -04:00
Dmitry-Me deb2c2adaa Fix typo in contributor guide 2018-07-25 12:00:44 +03:00
Shaolin be8189b0f8 UI: Fix start up crash with saved projectors
This fixes a crash in case the user selected the option to save
projectors on exit and had multiple monitors at that time. Later on,
when obs is started again if the monitor list is lower now the open
projector code will return null when trying to create the saved
projector.

Just check if the returned projector pointer is valid before trying
to restore the saved geometry.
2018-07-24 17:43:58 -03:00
Garrett 90c5603f4d rtmp-services: Add Piczel.TV server
Piczel.TV is a streaming and art gallery website - https://piczel.tv
2018-07-24 14:26:37 -04:00
Michael Fabian 'Xaymar' Dirks 4de7bb15f6 enc-amf: Version 2.4.2
* Updated AMF SDK to 1.4.7.0.
* Fixed a crash in api::base if Direct3D 9 or Direct3D 11 was not found.
* Changed how the capability testing reports supported devices to the log file.
* Fixed the order that codec properties are applied. (Thanks to Qiang Wen, see commit c292f6de41f22a0521300e8ce0b74bbe5e4d0edf)
* Fixed a crash caused by very old drivers that predate H265 support.
2018-07-24 19:39:55 +02:00
jp9000 d13bbe6e59 libobs: Always try to update transform in current thread
Due to the recent change in which scene items now only update their
transforms during the next frame's tick, snapping sources would
sometimes jitter and have incorrect snapping.  This fixes that issue by
reverting to the behavior of updating the transform immediately rather
than deferring the update to the next frame tick, but only on non-group
items.

This should not be done on items that are sub-items of groups because we
rely on the obs_scene_item::update_transform variable to update the
parent group's transform in addition.
2018-07-24 02:41:31 -07:00
jp9000 593345a3b1 libobs: Only update scene item texture on frame tick
Instead of updating the scene item texture any time
update_item_transform() is called, only update it when
obs_scene_item::update_transform is called.  Prevents having to lock the
graphics mutex needlessly.
2018-07-24 02:41:31 -07:00
jp9000 8741bfcb8f libobs: Don't assign variables before if/return 2018-07-24 02:41:31 -07:00
jp9000 7ef3350d50 UI: Do not open properties dialog for groups
On initial creation of an empty group, do not open a properties dialog
for groups.
2018-07-24 02:41:31 -07:00
Richard Stanway cc69ec16ec
obs-outputs: Update librtmp with upstream patches
Mostly security / reliability related, fixing various access to
uninitialized data, integer overflows, etc from
https://git.ffmpeg.org/rtmpdump
2018-07-23 23:22:37 +02:00
Jim 12b592ccf0
Merge pull request #1380 from derrod/discord-webhook
CI: Add AppVeyor webhook for Discord bot
2018-07-22 15:19:31 -07:00
derrod 79684316a3 CI: Add AppVeyor webhook for Discord bot 2018-07-22 23:52:57 +02:00
Jim 17426240c9
Merge pull request #1378 from derrod/discord-webhook
CI: Add travis webhook URL for Discord bot
2018-07-22 11:45:20 -07:00
derrod 414929f296 CI: Add travis webhook for Discord bot 2018-07-22 20:30:02 +02:00
jp9000 8dc2e6b5fb UI: Add signal for when theme has changed 2018-07-21 19:14:36 -07:00
jp9000 e1ab9a0fc4 UI: Add ability to parse OBSStyle from qss
Adds the ability to set the current palette for the program via adding
"OBSTheme" objects to the qss files.  The values for the OBSTheme object
are the values used by QPalette::ColorRole.

Modifying the global palette allows the ability to easily/quickly look
up application theme colors (especially if you would like to use them
for QML), as well as the ability to fix the hyperlink color issue.  (On
dark themes, links would still be dark blue, causing them to be
difficult to see)
2018-07-21 19:14:36 -07:00
Jim 8b6d437a97
Merge pull request #1374 from mixer/ftl-update
obs-output: Update ftl-sdk version
2018-07-20 23:19:33 -07:00
Luke Yelavich f29a4a8145 libobs: Copy the device uid string for mac audio monitor 2018-07-21 09:14:12 +10:00
Luke Yelavich 5c066ed48f libobs: Pass address of cf_uid rather than the contents of cf_uid 2018-07-21 09:14:12 +10:00