1. 16 Jan, 2018 3 commits
    • wm4's avatar
      hwcontext_d3d11va: implement av_hwdevice_get_hwframe_constraints() · 27b9f82e
      wm4 authored
      D3D11 has rather fine grained per format capabilities for different uses
      that can be queried at runtime. Since we don't know what the user wants
      to do with the formats when av_hwdevice_get_hwframe_constraints() is
      called, we simply return all formats that have the most basic support.
      27b9f82e
    • wm4's avatar
      avformat: make avformat_network_init() explicitly optional · 631c56a8
      wm4 authored
      It was sort of optional before - if you didn't call it, networking was
      initialized on demand, and an ugly warning was logged. Also, the doxygen
      comments threatened that it would be made strictly required one day.
      
      Make it explicitly optional. I would prefer to deprecate it fully, but
      there might still be legitimate reasons to use this. But the average
      user won't need it.
      
      This is needed only for two reasons: to initialize TLS libraries like
      OpenSSL and GnuTLS, and winsock.
      
      OpenSSL and GnuTLS were already silently initialized on demand if the
      global network init function was not called. They also have various
      thread-safety acrobatics, which make concurrent initialization within
      libavformat safe. In addition, the libraries are moving towards making
      their global init functions safe, which removes all need for central
      global init. In particular, GnuTLS 3.5.16 and OpenSSL 1.1.0g have been
      found to have safe init functions. In all cases, they use internal
      reference counters to avoid that the global uninit functions interfere
      with concurrent uses of the library by other API users who called global
      init.
      
      winsock should be thread-safe as well, and maintains an internal
      reference counter as well.
      
      Since we still support ancient TLS libraries, which do not have this
      fixed, and since it's unknown whether winsock and GnuTLS
      reinitialization is costly in any way, don't deprecate the libavformat
      functions yet.
      631c56a8
    • wm4's avatar
      avformat: deprecate another ffserver API leftover · 6512ff72
      wm4 authored
      6512ff72
  2. 15 Jan, 2018 5 commits
  3. 14 Jan, 2018 9 commits
  4. 13 Jan, 2018 7 commits
  5. 12 Jan, 2018 11 commits
  6. 11 Jan, 2018 4 commits
  7. 10 Jan, 2018 1 commit