Skip to content

Commit

Permalink
Also include libswresample version
Browse files Browse the repository at this point in the history
  • Loading branch information
jonfryd committed May 25, 2024
1 parent 1080f86 commit 063cdbc
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
extern "C" {
#include <libavfilter/avfilter.h>
#include <libswscale/swscale.h>
#include <libswresample/swresample.h>
}

#define STB_IMAGE_WRITE_IMPLEMENTATION
Expand Down Expand Up @@ -322,11 +323,12 @@ void Display::print_verbose_info() {
std::cout << "SDL window size: " << window_width_ << "x" << window_height_ << std::endl;

std::cout << "FFmpeg version: " << av_version_info() << std::endl;
std::cout << "libavutil version: " << format_libav_version(avutil_version()) << std::endl;
std::cout << "libavcodec version: " << format_libav_version(avcodec_version()) << std::endl;
std::cout << "libavformat version: " << format_libav_version(avformat_version()) << std::endl;
std::cout << "libavfilter version: " << format_libav_version(avfilter_version()) << std::endl;
std::cout << "libswscale version: " << format_libav_version(swscale_version()) << std::endl;
std::cout << "libavutil version: " << format_libav_version(avutil_version()) << std::endl;
std::cout << "libavcodec version: " << format_libav_version(avcodec_version()) << std::endl;
std::cout << "libavformat version: " << format_libav_version(avformat_version()) << std::endl;
std::cout << "libavfilter version: " << format_libav_version(avfilter_version()) << std::endl;
std::cout << "libswscale version: " << format_libav_version(swscale_version()) << std::endl;
std::cout << "libswresample version: " << format_libav_version(swresample_version()) << std::endl;
std::cout << "libavcodec configuration: " << avcodec_configuration() << std::endl;
}

Expand Down

0 comments on commit 063cdbc

Please sign in to comment.