![]() |
Audacity 3.2.0
|
#include "FFmpeg.h"
#include "FileNames.h"
#include "SelectFile.h"
#include "HelpSystem.h"
#include "AudacityMessageBox.h"
#include <wx/checkbox.h>
#include <wx/dynlib.h>
#include <wx/file.h>
#include <wx/log.h>
#include <wx/textctrl.h>
Go to the source code of this file.
Classes | |
class | FindFFmpegDialog |
Allows user to locate libav* libraries. More... | |
Macros | |
#define | DEFINE_FFMPEG_POINTERS |
#define | ID_FFMPEG_BROWSE 5000 |
#define | ID_FFMPEG_DLOAD 5001 |
Functions | |
bool | LoadFFmpeg (bool showerror) |
void | FFmpegStartup () |
TranslatableString | GetFFmpegVersion () |
bool | FindFFmpegLibs (wxWindow *parent) |
Variables | |
static BoolSetting | FFmpegEnabled { L"/FFmpeg/Enabled", false } |
BoolSetting | FFmpegNotFoundDontShow { L"/FFmpeg/NotFoundDontShow", false } |
#define DEFINE_FFMPEG_POINTERS |
Definition at line 18 of file FFmpeg.cpp.
#define ID_FFMPEG_BROWSE 5000 |
Definition at line 108 of file FFmpeg.cpp.
#define ID_FFMPEG_DLOAD 5001 |
Definition at line 109 of file FFmpeg.cpp.
void FFmpegStartup | ( | ) |
Called during Audacity start-up to try and load the ffmpeg libraries
Definition at line 65 of file FFmpeg.cpp.
References AudacityMessageBox(), FFmpegEnabled, LoadFFmpeg(), Setting< T >::Read(), and XO().
Referenced by AudacityApp::InitPart2().
bool FindFFmpegLibs | ( | wxWindow * | parent | ) |
Definition at line 310 of file FFmpeg.cpp.
References AVFormatPath, SettingTransaction::Commit(), FindFFmpegDialog::GetLibPath(), FFmpegFunctions::GetSearchPaths(), FFmpegFunctions::Load(), name, Setting< T >::Write(), and wxT().
Referenced by ExportFFmpeg::CheckFileName(), anonymous_namespace{FFmpegPrefs.cpp}::OnFFmpegFindButton(), and ExportFFmpegCustomOptions::OnOpen().
TranslatableString GetFFmpegVersion | ( | ) |
Definition at line 82 of file FFmpeg.cpp.
References FFmpegFunctions::Load(), Verbatim(), wxT(), and XO().
Referenced by anonymous_namespace{FFmpegPrefs.cpp}::SetFFmpegVersionText().
bool LoadFFmpeg | ( | bool | showerror | ) |
Definition at line 46 of file FFmpeg.cpp.
References FFmpegEnabled, FileConfig::Flush(), gPrefs, FFmpegFunctions::Load(), and Setting< T >::Write().
Referenced by ExportFFmpeg::CheckFileName(), FFmpegStartup(), anonymous_namespace{FFmpegPrefs.cpp}::OnFFmpegFindButton(), and ExportFFmpegCustomOptions::OnOpen().
|
static |
Definition at line 44 of file FFmpeg.cpp.
Referenced by FFmpegStartup(), and LoadFFmpeg().
BoolSetting FFmpegNotFoundDontShow { L"/FFmpeg/NotFoundDontShow", false } |
Definition at line 362 of file FFmpeg.cpp.
Referenced by FFmpegNotFoundDialog::OnOk(), FFmpegImportPlugin::Open(), and FFmpegNotFoundDialog::PopulateOrExchange().