[vlc-commits] [Git][videolan/vlc][master] avcodec: fix invalid version check

Thomas Guillem (@tguillem) gitlab at videolan.org
Fri Dec 10 13:03:35 UTC 2021



Thomas Guillem pushed to branch master at VideoLAN / VLC


Commits:
4cbe5862 by Thomas Guillem at 2021-12-10T12:47:32+00:00
avcodec: fix invalid version check

Regression from 8cf02acd84a1e099e15037d7c1e4dce6e8888df9

This restore hw decoding with multiple threads (the default behavior).

- - - - -


1 changed file:

- modules/codec/avcodec/video.c


Changes:

=====================================
modules/codec/avcodec/video.c
=====================================
@@ -1622,7 +1622,7 @@ no_reuse:
     if (!can_hwaccel)
         return swfmt;
 
-#if LIBAVCODEC_VERSION_CHECK(57, 83, 101)
+#if !LIBAVCODEC_VERSION_CHECK(57, 83, 101)
     if (p_context->active_thread_type)
     {
         msg_Warn(p_dec, "thread type %d: disabling hardware acceleration",



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4cbe586250e560d7e047535a14f49d8d074dee13

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4cbe586250e560d7e047535a14f49d8d074dee13
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list