Skip to content

Commit

Permalink
Update appsupport.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Sep 8, 2024
1 parent 2889c95 commit 1aaa1a4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/core/appsupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,13 @@
#include <QRegularExpression>
#include <QMessageBox>
#include <iostream>
#include <libavformat/avformat.h>
#include <ostream>

extern "C" {
#include <libavutil/log.h>
#include <libavformat/avformat.h>
}

using namespace Friction::Core;

AppSupport::AppSupport(QObject *parent)
Expand Down Expand Up @@ -975,7 +979,7 @@ void AppSupport::checkPerms(const bool &isRenderer)

void AppSupport::checkFFmpeg(const bool &isRenderer)
{
//av_log_set_level(AV_LOG_ERROR);
av_log_set_level(AV_LOG_ERROR);
#ifndef QT_DEBUG
const QString warning = QObject::tr("Friction is built against an unsupported FFmpeg version. Use at own risk and don't report any issues upstream.");
if (avformat_version() >= 3812708) {
Expand Down

0 comments on commit 1aaa1a4

Please sign in to comment.