Ticket #12443: vaapicontext.patch

File vaapicontext.patch, 447 bytes (added by Gary Buhrmaster <gary.buhrmaster@…>, 4 years ago)

vaapicontext.patch

  • mythtv/libs/libmythtv/vaapicontext.cpp

    diff --git a/mythtv/libs/libmythtv/vaapicontext.cpp b/mythtv/libs/libmythtv/vaapicontext.cpp
    index e44ae32..38547cf 100644
    a b bool VAAPIContext::InitImage(const void *buf) 
    670670{
    671671    if (!buf)
    672672        return false;
    673     if (!m_dispType == kVADisplayX11)
     673    if (m_dispType != kVADisplayX11)
    674674        return true;
    675675
    676676    int num_formats = 0;