projects
/
platform
/
upstream
/
gst-libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82bf771
)
gstav: Use libavcodec util function for version check
author
Yeongjin Jeong
<yeongjin.jeong@navercorp.com>
Mon, 29 Apr 2019 02:52:31 +0000
(11:52 +0900)
committer
Tim-Philipp Müller
<tim@centricular.com>
Tue, 6 Aug 2019 16:01:40 +0000
(17:01 +0100)
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
patch
|
blob
|
history
diff --git
a/ext/libav/gstav.c
b/ext/libav/gstav.c
index
2a88230
..
f3fb648
100644
(file)
--- a/
ext/libav/gstav.c
+++ b/
ext/libav/gstav.c
@@
-48,7
+48,7
@@
static GMutex gst_avcodec_mutex;
static inline gboolean
gst_ffmpeg_avcodec_is_ffmpeg (void)
{
- guint av_version = av
util
_version ();
+ guint av_version = av
codec
_version ();
GST_DEBUG ("Using libavcodec version %d.%d.%d",
av_version >> 16, (av_version & 0x00ff00) >> 8, av_version & 0xff);