1. 19 Dec, 2018 1 commit
  2. 18 Dec, 2018 4 commits
    • Nicolas Dufresne's avatar
      rtph26xpay: Remove unused IS_ACCESS_UNIT macro · 5e8cab71
      Nicolas Dufresne authored
      This macro is not longer used. It was secretly checking if that nal was
      a slice, and confusingly name to that one may think it was checking if
      the nal is an AUD.
      5e8cab71
    • Nicolas Dufresne's avatar
      rtph264pay: Fix reading timestamps from adapter · 1f721317
      Nicolas Dufresne authored
      The code was reading the timestamp from the adapter before pushing the
      new buffer into it. As a side effect, if the adapter was empty, we'd end
      up using an older timestamp. In alignment=au, it means that all
      timestamp was likely one frame in the past, while in alignment=nal, with
      multiple slices per frame, the first slice would have the timestamp of
      the previous one.
      1f721317
    • Nicolas Dufresne's avatar
      rtph264pay: Properly set the marker bit · 4add820c
      Nicolas Dufresne authored
      The marker bit is used for efficient decoding. The assumption that
      it should be set on the AUD is wrong, since the AUD is conceptually
      starts the frame, while the marker is to indicate the end.
      
      So properly set the marker bit as soon as we know we are ending an
      AU and also whenever upstream have set the GST_BUFFER_FLAG_MARKER
      flag.
      4add820c
    • Nicolas Dufresne's avatar
      rtph264pay: Protect against use of reserved NAL types · 13278fbc
      Nicolas Dufresne authored
      Don't allow external encoder to use one of the reserved NAL type
      implicated in NAL aggreation. These out-of-spec NAL types, if passed
      from the outside world will lead to an invalid RTP payload being
      created.
      13278fbc
  3. 16 Aug, 2018 1 commit
  4. 24 Jul, 2018 1 commit
  5. 23 Nov, 2017 1 commit
    • Philip Craig's avatar
      rtph264pay: don't add trailing zeros to PPS/SPS · ec11b228
      Philip Craig authored
      This would happen if input is byte-stream with four-byte
      sync markers instead of three-byte ones. The code that
      scans for sync markers will place the start of the NALU
      on the third-last byte of the NALU sync marker, which
      means that any additional zeros may be counted as belonging
      to the previous NALU instead of being part of the next sync
      marker. Fix that so we don't send SPS/PPS with trailing
      zeros in this case.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=732758
      ec11b228
  6. 24 May, 2017 1 commit
    • Tim-Philipp Müller's avatar
      rtp: cache meta tag quarks and add more utility functions for metas · 4a28e649
      Tim-Philipp Müller authored
      Every g_quark_from_static_string() is a hash table lookup serialised
      on the global quark lock in GLib. Let's just look up the two quarks
      we need once and cache them locally for future use. While we're at it,
      add new utility functions for the two most commonly used tags
      (audio + video). Make first argument a gpointer so we don't have to
      cast and make the code ugly. These are used for logging purposes
      only anyway.
      4a28e649
  7. 19 Jul, 2016 1 commit
  8. 21 Jun, 2016 1 commit
  9. 24 Mar, 2016 1 commit
  10. 27 Nov, 2015 2 commits
  11. 11 Aug, 2015 1 commit
  12. 01 Jul, 2015 1 commit
  13. 24 Apr, 2015 1 commit
  14. 11 Dec, 2014 1 commit
  15. 09 Dec, 2014 1 commit
  16. 08 Aug, 2014 1 commit
  17. 03 Aug, 2014 1 commit
  18. 01 Aug, 2014 1 commit
  19. 19 Jun, 2014 2 commits
  20. 18 Jun, 2014 2 commits
  21. 21 Apr, 2014 1 commit
  22. 25 Feb, 2014 1 commit
  23. 28 Nov, 2013 1 commit
  24. 04 Nov, 2013 1 commit
  25. 13 Aug, 2013 1 commit
  26. 27 Jun, 2013 1 commit
  27. 31 May, 2013 3 commits
  28. 23 May, 2013 3 commits
  29. 01 May, 2013 1 commit
  30. 11 Mar, 2013 1 commit