Commit Graph

5709 Commits (9a095bde11a3fb8e0f1033340a1053aa4824e0d6)

Author SHA1 Message Date
Jim 9a095bde11
Merge pull request #1388 from RytoEX/ci-macos
Update macOS CI build image, target, and deps
2018-08-03 01:48:01 -07:00
jp9000 5b091ce06d UI: Use obsproject.com URL for discord invite 2018-08-03 00:33:06 -07:00
Jim be44b36bd4
Merge pull request #1403 from admshao/gl-improve-error-handling
Improve X error handling
2018-08-02 23:53:34 -07:00
Jim a4150c7d98
Merge pull request #1402 from admshao/compressor-segfault
obs-filters: Fix segfault in Compressor Filter
2018-08-02 23:52:31 -07:00
Shaolin 85c7669ad2 libobs-opengl: Fix segfault on access of invalid window
Once a window is invalid gl-x11::get_window_geometry will return 0
so just check if the returned geometry is a valid pointer before
trying to get its width/height.
2018-08-03 00:55:09 -03:00
Shaolin 4a266dc920 libobs-opengl: Improve X error handler message 2018-08-03 00:52:47 -03:00
Shaolin d5fb5edd93 obs-filters: Fix segfault in Compressor Filter
obs_audio_data* sent to compressor_filter_audio had audio->frames == 0.
The analyze_envelope was trying to access an array at index -1 in result
of that. Just return if no samples are provided.

This fixes Mantis issue: 1261
2018-08-02 15:32:54 -03:00
Jim 9565f9cd0c
Merge pull request #1332 from Andersama/patch-21
UI: Hide preview for sources and filters where possible
2018-08-01 23:05:45 -07:00
Ryan Foster 6dfeeca620 CI: Update macOS dependencies in build script
* Add mbedTLS in brew install
* Update Sparkle from 1.16.0 to 1.20.0
* Update Opus from 1.1.3 to 1.2.1
* Update libogg from 1.3.2 to 1.3.3
* Update libvorbis from 1.3.5 to 1.3.6
* Update libvpx from 1.6.0 to 1.7.0
* Update Jansson from 2.9 to 2.11
* Update FFmpeg from 3.2.2 to 4.0.2
2018-08-02 00:08:24 -04:00
Ryan Foster 3ea16c619f CI: Update Travis scripts to target OSX 10.11+ 2018-08-02 00:08:20 -04:00
Ryan Foster 7fd981c2c0 CI: Update Travis Mac builds to Xcode 9.4 and macOS 10.13 2018-08-02 00:08:17 -04:00
jp9000 16ead25dd3 UI: Add ability to join discord server from help menu 2018-08-01 18:41:57 -07:00
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
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