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)
committerSebastian Dröge <slomo@coaxion.net>
Mon, 29 Apr 2019 16:02:05 +0000 (16:02 +0000)
commit603c78b1a13b6bc1269faf96d81bf6ac4ec68a26
tree70beb1560d3e6445b63cd535229edb6b01e7026e
parent472f2ef104e574e524c2b707ddb028911ebdfe09
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