From accd1770b4226d82a796175067f5dc090f774daa Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Mon, 1 Feb 2021 00:03:47 -0600 Subject: [PATCH] Bug 2645 - FFmpeg library not filtered correctly in browse in Libraries preferences --- src/FFmpeg.cpp | 2 +- src/FFmpeg.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FFmpeg.cpp b/src/FFmpeg.cpp index 805c075f9..f97f37f87 100644 --- a/src/FFmpeg.cpp +++ b/src/FFmpeg.cpp @@ -525,7 +525,7 @@ public: wxString path = FileNames::SelectFile(FileNames::Operation::_None, question, mLibPath.GetPath(), - mLibPath.GetName(), + mLibPath.GetFullName(), wxT(""), mTypes, wxFD_OPEN | wxRESIZE_BORDER, diff --git a/src/FFmpeg.h b/src/FFmpeg.h index a52a7eba1..c7a73dbb5 100644 --- a/src/FFmpeg.h +++ b/src/FFmpeg.h @@ -247,7 +247,7 @@ public: { return { /* i18n-hint: do not translate avformat. Preserve the computer gibberish.*/ - { XO("Only avformat.dll"), { wxT("avformat.dll") } }, + { XO("Only avformat.dll"), { GetLibAVFormatName() } }, FileNames::DynamicLibraries, FileNames::AllFiles };