mpv
mpv copied to clipboard
{common,player}: version logging changes
- Adjust the location of the overall FFmpeg version logging.
- Add libplacebo version as part of
--version
.
Maybe introducing a whole new symbol
MP_PL_VERSION
is a bit unnecessarily verbose (as opposed to just having the#ifdef
check at the usage site), but I don't particularly have a preference.
Technically I could have defined PL_VERSION
but I thought that goes over onto the libplacebo namespace and thus MP_PL_VERSION
it was in this attempt.
Reverted to the #if HAVE_LIBPLACEBO
at usage site solution since people seemed to prefer it to having all the pre-processor stuff on top of the file.
Just thought it made sense to have it in a single location, esp. if in the future libplacebo becomes an integral part of mpv.