mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 00:40:25 +00:00
vcomp/lavc version: print ver from run-time linked
Do print the runtime lavc version instead the one from headers, that may differ (minor and patch only).
This commit is contained in:
@@ -433,7 +433,10 @@ void usage(bool full) {
|
||||
}
|
||||
col() << "\nUse '" << SBOLD("-c libavcodec:encoder=<enc>:help") << "' to display encoder specific options, works on decoders as well (also use keyword \"encoder\").\n";
|
||||
col() << "\n";
|
||||
col() << "Libavcodec version (linked): " << SBOLD(LIBAVCODEC_IDENT) << "\n";
|
||||
const unsigned lavc_ver = avcodec_version();
|
||||
color_printf("Libavcodec version (linked): " TBOLD("%d.%d.%d") "\n",
|
||||
AV_VERSION_MAJOR(lavc_ver), AV_VERSION_MINOR(lavc_ver),
|
||||
AV_VERSION_MICRO(lavc_ver));
|
||||
const char *swscale = "no";
|
||||
#ifdef HAVE_SWSCALE
|
||||
swscale = "yes";
|
||||
|
||||
Reference in New Issue
Block a user