1. 22 Feb, 2018 1 commit
  2. 16 Feb, 2018 1 commit
    • François Laignel's avatar
      Query: allow concrete query instantiation · c9717271
      François Laignel authored
      Allow instantiating and dereferencing concrete queries. The motivation
      for this proposal is to allow the following usability enhancements:
      
      - Concrete queries mutability guaranteed by the borrow checker,
      including for generic functions:
      ``` rust
          let mut p = Query::new_position(::Format::Time);
          p.get_mut_structure().set("check_mut", &true);
      ```
      
      - Concrete queries functions available in place:
      ``` rust
          let mut q = gst::Query::new_duration(gst::Format::Time);
          let duration = if pipeline.query(&mut q) {
              Some(q.get_result())
          } else {
              None
          };
      ```
      c9717271
  3. 29 Jan, 2018 1 commit
  4. 22 Dec, 2017 1 commit
  5. 20 Dec, 2017 2 commits
  6. 09 Dec, 2017 2 commits
    • Sebastian Dröge's avatar
      Change FormatValue related API to be more convenient to use · c99928d0
      Sebastian Dröge authored
      FormatValue is now renamed to GenericFormattedValue and the API slightly
      changed. In addition there is now a FormattedValue trait, and a
      SpecificFormattedValue trait plus types for Bytes, Buffers and the
      existing ClockTime.
      
      This allows to create functions like
        Pad::query_duration<F: SpecificFormattedValue>() -> Option<F>
      and doesn't require the caller to unwrap the generic value anymore,
      which is completely unneeded in these cases.
      
      In addition, Segment became FormattedSegment<T> with API to
      upcast/downcast between the specific formatted values and the generic
      formatted value. This greatly simplifies usage of Segments.
      c99928d0
    • Sebastian Dröge's avatar
      Fix calculation for buffer duration in basic-tutorial-8 · d7792a4f
      Sebastian Dröge authored
      We need to scale the number of samples, not the buffer size.
      d7792a4f
  7. 01 Dec, 2017 1 commit
  8. 27 Nov, 2017 1 commit
  9. 26 Nov, 2017 2 commits
  10. 17 Nov, 2017 2 commits
  11. 16 Nov, 2017 1 commit
  12. 12 Nov, 2017 2 commits
  13. 11 Nov, 2017 3 commits
  14. 06 Nov, 2017 1 commit
  15. 26 Oct, 2017 1 commit
  16. 24 Oct, 2017 2 commits
  17. 17 Oct, 2017 2 commits
  18. 14 Oct, 2017 1 commit
  19. 13 Oct, 2017 1 commit
  20. 11 Oct, 2017 2 commits
  21. 09 Oct, 2017 1 commit
  22. 13 Sep, 2017 2 commits
  23. 08 Sep, 2017 2 commits