1. 11 Aug, 2017 2 commits
    • George Kiagiadakis's avatar
      vpxenc: discard frames that have been dropped by libvpx · 36fc2a74
      George Kiagiadakis authored
      This fixes a memory leak. When dropframe-threshold has been set,
      libvpx may output less frames than the input ones, which causes
      some GstVideoCodecFrames to queue up in GstVideoEncoder's internal
      frame queue with no chance of ever being all released. And because
      the frames keep references to the input buffers, the input buffer
      pool keeps allocating new buffers and memory usage grows very fast.
      For example the following pipeline's memory usage grows at a rate
      of about 1GB per minute!
      videotestsrc ! capsfilter caps=video/x-raw,width=1920,height=1080,framerate=30/1,format=I420 ! \
        vp8enc target-bitrate=1000000 end-usage=cbr dropframe-threshold=95 ! fakesink
    • Mathieu Duponchelle's avatar
      rtpstats: fix unsigned integer comparisons. · 5e48e85f
      Mathieu Duponchelle authored
      Callers of the API (rtpsource, rtpjitterbuffer) pass clock_rate
      as a signed integer, and the comparison "<= 0" is used against
      it, leading me to think the intention was to have the field
      be typed as gint32, not guint32.
      This led to situations where we could call scale_int with
      a MAX_UINT32 (-1) guint32 as the denom, thus raising an
  2. 10 Aug, 2017 5 commits
  3. 08 Aug, 2017 1 commit
  4. 06 Aug, 2017 1 commit
  5. 02 Aug, 2017 5 commits
  6. 01 Aug, 2017 3 commits
  7. 31 Jul, 2017 1 commit
  8. 27 Jul, 2017 6 commits
  9. 25 Jul, 2017 1 commit
  10. 24 Jul, 2017 5 commits
  11. 22 Jul, 2017 1 commit
    • Nicolas Dufresne's avatar
      v4l2object: Fix colorimetry validation · 4bcec1b1
      Nicolas Dufresne authored
      While not documented, gst_video_colorimetry_matches() only accepts well
      known names. Looking at the code and unit test, this seems to be on
      purpose, so fixing by parsing the string and compating the colorimetry
  12. 21 Jul, 2017 9 commits