1. 14 Aug, 2015 1 commit
  2. 29 May, 2015 1 commit
  3. 18 May, 2015 1 commit
  4. 05 Apr, 2015 2 commits
    • Tim-Philipp Müller's avatar
      tests: appsrc: clean up block_deadlock test and make it work in valgrind · 0aa0b89a
      Tim-Philipp Müller authored
      Remove all the bus watch and main loop code from the block_deadlock
      test, it's not needed: neither pipeline will ever post an EOS or ERROR
      message on the bus, and we're the only ones posting an error, from a
      timeout. Might just as well just sleep for a bit and then do whatever
      we want to do.
      
      Don't gratuitiously set tcase timeout, just use whatever is the
      default (or set via the environment).
      
      Make individual pipeline runs shorter.
      
      Check for valgrind and only do a handful iterations when running
      in valgrind, not 100 (each iteration takes about 4s on a core i7).
      
      Make videotestsrc output smaller buffers than the default resolution,
      we don't care about the buffer contents here anyway.
      
      Fixes test timeouts when run in valgrind.
      0aa0b89a
    • Tim-Philipp Müller's avatar
      tests: multisocketsink: fix flaky unit test · 46aa4744
      Tim-Philipp Müller authored
      On slower systems, or under high system load (e.g. check-valgrind),
      the sending_buffers_with_9_gstmemories test would sometimes fail,
      because the read call only returns 32 bytes instead of the full
      36 bytes expected. This is because multisocketsink might end up
      doing a partial write of 32 bytes first, and then write the
      missing 4 bytes later, but since we don't wait for all of data
      to be written, there's a short window where our read call in the
      unit test might then only receive the 32 bytes written so far,
      which makes it deeply unhappy.
      
      Instead, make sure we loop to read all bytes.
      46aa4744
  5. 03 Apr, 2015 1 commit
  6. 02 Apr, 2015 1 commit
  7. 16 Mar, 2015 1 commit
  8. 13 Mar, 2015 1 commit
    • William Manley's avatar
      multisocketsink: Map `GstMemory`s individually when sending · b8232a74
      William Manley authored
      If a buffer is made up of non-contiguous `GstMemory`s `gst_buffer_map`
      has to copy all the data into a new `GstMemory` which is contiguous.  By
      mapping all the `GstMemory`s individually and then using scatter-gather
      IO we avoid this situation.
      
      This is a preparatory step for adding support to multisocketsink for
      sending file descriptors, where a GstBuffer may be made up of several
      `GstMemory`s, some of which are backed by a memfd or file, but I think this
      patch is valid and useful on its own.
      
      Fixes https://bugzilla.gnome.org/show_bug.cgi?id=746150
      b8232a74
  9. 05 Nov, 2014 1 commit
  10. 24 Oct, 2014 2 commits
  11. 01 Sep, 2014 1 commit
  12. 11 Aug, 2014 2 commits
    • Thiago Santos's avatar
      basetextoverlay: rework caps negotiation · a080c0eb
      Thiago Santos authored
      Make textoverlay negotiate caps more correctly.
      
      1) Check what caps we received in the video-sink
      2) If it already has the overlay meta -> use it directly
      3) If it doesn't, textoverlay try adding the overlay meta and using it,
         if downstream doesn't support it, just use what is received in the
         video-sink
      4) Check if the allocation query also supports the meta to enable
         really using it
      
      Before it wasn't really doing renegotiation of any kind, just
      re-checking if it should use the overlay meta or not
      
      Also had to update the caps in the test as memory:SystemMemory seems
      to be required when you use a caps feature otherwise intersection/subset
      checks will fail.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=733916
      a080c0eb
    • Thiago Santos's avatar
      encodebin: delay missing encoder error as passthrough is still possible · c9904fb6
      Thiago Santos authored
      Set up a fakesink with a pad probe to replace the missing encoder to detect
      if encoding was really required and only error out in this case. Otherwise
      just let passthrough branch work.
      
      This delays the error posting from the set_state function to when buffers
      are really flowing. Unit test updated accordingly
      
      https://bugzilla.gnome.org/show_bug.cgi?id=650652
      c9904fb6
  13. 06 Aug, 2014 1 commit
  14. 21 Jul, 2014 2 commits
  15. 29 May, 2014 1 commit
    • Thiago Santos's avatar
      decodebin: aggregate buffering messages · 783195cc
      Thiago Santos authored
      Aggregate buffering messages to only post the lower value
      to avoid setting pipeline to playing while any multiqueue
      is still buffering.
      
      There are 3 scenarios where the entries should be removed from
      the list:
      
      1) When decodebin is set to READY
      2) When an element posts a 100% buffering (already implemented)
      3) When a multiqueue is removed from decodebin.
      
      For item 3 we don't need to handle it because this should only
      happen when either 1 is hapenning or when it is playing a
      chained file, for which number 2 should have happened for the
      previous stream to finish
      
      https://bugzilla.gnome.org/show_bug.cgi?id=726423
      783195cc
  16. 15 Apr, 2014 4 commits
  17. 16 Mar, 2014 1 commit
  18. 05 Mar, 2014 1 commit
  19. 18 Feb, 2014 1 commit
  20. 16 Feb, 2014 1 commit
    • Stefan Sauer's avatar
      encodebin: refactor tests · 465dfe49
      Stefan Sauer authored
      Add a new test to demo how to get missing plugin message.
      Split some tests that unneccesarily munge unrelated checks into one test.
      465dfe49
  21. 10 Feb, 2014 1 commit
  22. 08 Feb, 2014 2 commits
  23. 13 Jan, 2014 2 commits
  24. 18 Dec, 2013 1 commit
  25. 21 Nov, 2013 1 commit
  26. 18 Nov, 2013 1 commit
    • Tim-Philipp Müller's avatar
      tests: fix appsrc test with latest GLib version · b79d6b1c
      Tim-Philipp Müller authored
      With the latest GLib, g_source_remove() complains about not finding
      the timeout source with the given ID here, since it was already
      destroyed by returning FALSE from the timeout callback. Also return
      FALSE from the bus watches when we don't want to be called any more.
      b79d6b1c
  27. 12 Nov, 2013 1 commit
  28. 06 Nov, 2013 2 commits
  29. 08 Oct, 2013 2 commits