Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/ffmpeg71 upgrade #16

Merged
merged 10 commits into from
Jan 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions core/mixer/gpu/ogl_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,13 @@ ogl_device::ogl_device(int gpu_index)
if (WGLEW_NV_gpu_affinity)
{
CASPAR_LOG(trace) << L"WGLEW_NV_gpu_affinity supported, selecting GPU " << gpu_index << L" to render on.";
HGPUNV hGPU[2] = {};
HGPUNV hGPU[2] = { 0 };
if (wglEnumGpusNV(gpu_index, hGPU))
{
GPU_DEVICE gpuDevice;
if (wglEnumGpuDevicesNV(hGPU[0], 0, &gpuDevice))
CASPAR_LOG(info) << L"Selected OpenGL device: " << gpuDevice.DeviceString << L" on " << gpuDevice.DeviceName;
else
BOOST_THROW_EXCEPTION(gl::ogl_exception() << msg_info("Cannot enumerate OpenGL devices"));
hGPU[1] = NULL;
HDC affDC = wglCreateAffinityDCNV(hGPU);
if (!affDC)
BOOST_THROW_EXCEPTION(gl::ogl_exception() << msg_info("Call to CreateAffinityDCNV failed"));
PIXELFORMATDESCRIPTOR pfd;
int pf = ChoosePixelFormat(affDC, &pfd);
if (!pf)
Expand Down
8 changes: 4 additions & 4 deletions dependencies/ffmpeg/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Expand Down Expand Up @@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
along with this program. If not, see <http://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

Expand All @@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
<http://www.gnu.org/licenses/>.

The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
107 changes: 0 additions & 107 deletions dependencies/ffmpeg/README.txt

This file was deleted.

Loading