xbmc/xbmc — pull request #2870 by popcornmix (2013-06-12 22:01:02+00:00)
Title: [DVDDemux] Allow for larger difference in dts and pts of packet

If video does not start on an I frame, you can get a significant difference
in pts and dts values for the first frame. I've got two videos where they
differ by more than 0.1s.

In this case, we end up setting pts=0 and leaving dts alone (which may be minutes away).
This gets through to GPU on Pi, and it tends to stall waiting for this difference to elapse.

I'm not sure what the largest difference can be, but 0.5s feels completely safe.
I'm not sure of any problems increasing this will cause.