gstav: Use libavcodec util function for version check
authorYeongjin Jeong <yeongjin.jeong@navercorp.com>
Mon, 29 Apr 2019 02:52:31 +0000 (11:52 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 6 Aug 2019 16:01:40 +0000 (17:01 +0100)
commit41b2b73c26cff8d0239c6d6a665065a5a4389fba
treeae848a95627a2e42d43fe46fbacd01829e94feac
parent82bf77144cd2b012dad3e93a046896e1432d55c4
gstav: Use libavcodec util function for version check

The version of libavutil is printed in the log instead of libavcodec
because avutil_version() returns LIBAVUTIL_VERSION_INT. This can be confusing,
so we should be replace it with avcodec_version().
ext/libav/gstav.c