1. 19 Feb, 2014 1 commit
  2. 13 Feb, 2014 1 commit
  3. 29 Jan, 2014 2 commits
  4. 24 Jan, 2014 1 commit
  5. 31 Dec, 2013 1 commit
  6. 27 Dec, 2013 1 commit
  7. 19 Dec, 2013 1 commit
  8. 15 Dec, 2013 1 commit
    • Joakim Plate's avatar
      mpegts: stop analyzing when pmt for all programs have been found · 6eda91ad
      Joakim Plate authored
      This disables NOHEADER after finding PMT for all programs to
      avoid find_stream_info always exhausting probe size for mpegts.
      
      This is very important for live streams since read speed
      will be limited. rtsp, udp and any protocol streaming a live
      mpegts will have dramatically faster startup time.
      
      Note, lack of codec parameters for streams can still cause
      the full probe size to be exhausted.
      Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      6eda91ad
  9. 12 Dec, 2013 1 commit
  10. 04 Dec, 2013 1 commit
  11. 18 Nov, 2013 1 commit
  12. 09 Nov, 2013 2 commits
  13. 31 Oct, 2013 1 commit
  14. 28 Oct, 2013 1 commit
  15. 16 Oct, 2013 1 commit
  16. 15 Oct, 2013 1 commit
  17. 13 Oct, 2013 1 commit
  18. 26 Sep, 2013 1 commit
  19. 10 Sep, 2013 1 commit
  20. 03 Sep, 2013 1 commit
  21. 18 Aug, 2013 5 commits
  22. 08 Aug, 2013 1 commit
  23. 06 Aug, 2013 2 commits
  24. 05 Aug, 2013 3 commits
    • Ben Avison's avatar
      mpegts: Remove one 64-bit integer modulus operation per packet · a22ae9f0
      Ben Avison authored
      The common case of the pointer having increased by one packet (which results
      in no change to the modulus) can be detected with a 64-bit subtraction,
      which is far cheaper than a division on many platforms.
      
                 Before          After
                 Mean   StdDev   Mean   StdDev  Change
      Divisions   248.3  8.8      51.5   7.4    +381.7%
      Overall    2773.2 25.6     2372.5 43.1     +16.9%
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      a22ae9f0
    • Ben Avison's avatar
      mpegts: Make discard_pid() faster for single-program streams · c84ea750
      Ben Avison authored
      When a stream contains a single program, there's no point in doing a
      PID -> program lookup. Normally the one and only program isn't disabled,
      so no packets should be discarded.
      
                    Before          After
                    Mean   StdDev   Mean   StdDev  Change
      discard_pid()   73.8  9.4       20.2  1.5    +264.8%
      Overall       2300.8 28.0     2253.1 20.6      +2.1%
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      c84ea750
    • Ben Avison's avatar
      mpegts: Remove one memcpy per packet · cabb1681
      Ben Avison authored
      This was being performed to ensure that a complete packet was held in
      contiguous memory, prior to parsing the packet. However, the source buffer
      is typically large enough that the packet was already contiguous, so it is
      beneficial to return the packet by reference in most cases.
      
               Before          After
               Mean   StdDev   Mean   StdDev  Change
      memcpy    720.7  32.7     649.8  25.1   +10.9%
      Overall  2372.7  46.1    2291.7  21.8    +3.5%
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      cabb1681
  25. 02 Aug, 2013 1 commit
  26. 05 Jul, 2013 1 commit
  27. 04 Jul, 2013 1 commit
  28. 30 Jun, 2013 3 commits
  29. 15 Mar, 2013 1 commit