1. 09 Aug, 2012 12 commits
  2. 08 Aug, 2012 14 commits
  3. 07 Aug, 2012 2 commits
  4. 06 Aug, 2012 3 commits
  5. 05 Aug, 2012 6 commits
  6. 04 Aug, 2012 3 commits
    • Tim-Philipp Müller's avatar
      adder: send CAPS event downstream fixing not-negotiated errors · 24478261
      Tim-Philipp Müller authored
      Make sure to send a CAPS event downstream when we get our
      first input caps. This fixes not-negotiated errors and
      adder use with downstream elements other than fakesink.
      
      Even gst-launch-1.0 audiotestsrc ! adder ! pulsesink works now.
      
      Also, flag the other sink pads as FIXED_CAPS when we receive
      the first CAPS event on one of the sink pads (in addition to
      setting those caps on the the sink pads), so that a caps query
      will just return the fixed caps from now on.
      
      There's still a race between other upstreams checking if
      caps are accepted and sending a first buffer with possibly
      different caps than the first caps we receive on some other
      pad, but such is life.
      
      Also need to take into account optional fields better/properly.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=679545
      24478261
    • Tim-Philipp Müller's avatar
    • Tim-Philipp Müller's avatar
      videoscale: fix 4-tap scaling for 64-bpp formats · 7892e1e2
      Tim-Philipp Müller authored
      Fix invalid memory access caused by broken pointer arithmetic.
      
      If we have a uint16_t *tmpbuf and add n * dest->stride to it, we
      skip twice as much as we intended to because dest->stride is in
      bytes and not in pixels. This made us write beyond the end of
      our allocated temp buffer, and made the unit test crash.
      7892e1e2