1. 22 1月, 2016 20 次提交
  2. 21 1月, 2016 4 次提交
  3. 20 1月, 2016 5 次提交
  4. 19 1月, 2016 2 次提交
  5. 18 1月, 2016 2 次提交
  6. 15 1月, 2016 1 次提交
  7. 13 1月, 2016 4 次提交
  8. 12 1月, 2016 2 次提交
    • A
      nvenc: generate dts properly · c59fec78
      Anton Khirnov 提交于
      When there is a non-zero decoding delay due to reordering, the first dts
      should be lower than the first pts (since the first packet fed to the
      decoder does not produce any output).
      
      Use the same scheme used in mpegvideo_enc (which comes from x264
      originally) -- wait for first two timestamps and extrapolate linearly to
      the past to produce the first dts value.
      c59fec78
    • A
      nvenc: fix encoding with B-frames · 9d36cab4
      Anton Khirnov 提交于
      When B-frames are enabled and the encoder returns success, all currently
      pending buffers immediately become valid and can be returned to the
      caller. We can only return one packet at a time, so all the other
      pending buffers should be transferred to a new 'ready' fifo, from where
      they can be returned in subsequent calls (in which the encoder does not
      produce any new output). This bug was hidden by the incorrect testing of
      the encoder return value (the return value was overwritten before it was
      tested).
      9d36cab4