1. 25 Apr, 2017 5 commits
  2. 24 Apr, 2017 4 commits
  3. 23 Apr, 2017 26 commits
  4. 22 Apr, 2017 5 commits
    • Philip Langdale's avatar
      avcodec/crystalhd: Adapt to new new decode API · 31483870
      Philip Langdale authored
      The new new decode API requires the decoder to ask for the next input
      packet, and it cannot just return EAGAIN if that packet cannot be
      processed yet. This means we must finally confront how we get this
      decoder to block when the input buffer is full and no output frames
      are ready yet.
      
      In the end, that isn't too hard to achieve - the main trick seems to
      be that you have to aggressively poll the hardware - it doesn't seem
      to make any forward progress if you sleep.
      Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
      31483870
    • James Almer's avatar
      Merge commit '061a0c14' · bddb2343
      James Almer authored
      * commit '061a0c14':
        decode: restructure the core decoding code
      
      CUVID decoder adapted by wm4.
      Merged-by: 's avatarJames Almer <jamrial@gmail.com>
      bddb2343
    • James Almer's avatar
      Merge commit '549d0bdc' · 1fd76277
      James Almer authored
      * commit '549d0bdc':
        decode: be more explicit about storing the last packet properties
      
      Also copy pkt->size in extract_packet_props(), as it's needed for
      AVFrame.pkt_size
      Merged-by: 's avatarJames Almer <jamrial@gmail.com>
      1fd76277
    • Aaron Levinson's avatar
      libavutil/thread.h: Fixed g++ build error when ASSERT_LEVEL is greater than 1 · 5b281b47
      Aaron Levinson authored
      Purpose: libavutil/thread.h: Fixed g++ build error when ASSERT_LEVEL
      is greater than 1.  This is only relevant when thread.h is included by
      C++ files.  In this case, the relevant code is only defined if
      HAVE_PTHREADS is defined as 1.  Use configure --assert-level=2 to do
      so.
      
      Note: Issue discovered as a result of Coverity build failure.  Cause
      of build failure pinpointed by Hendrik Leppkes.
      
      Comments:
      
      -- libavutil/thread.h: Altered ASSERT_PTHREAD_NORET definition such
         that it uses av_make_error_string instead of av_err2str().
         av_err2str() uses a "parenthesized type followed by an initializer
         list", which is apparently not valid C++.  This issue started
         occurring because thread.h is now included by the DeckLink C++
         files.  The alteration does the equivalent of what av_err2str()
         does, but instead declares the character buffer as a local
         variable.
      Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
      5b281b47
    • Marton Balint's avatar
      ffmpeg; check return code of avcodec_send_frame when flushing encoders · c037f2f1
      Marton Balint authored
      Fixes Coverity CID 1404841.
      Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
      c037f2f1