collectpads: take DTS into account
authorDavid Schleef <ds@schleef.org>
Fri, 22 Feb 2013 22:56:49 +0000 (14:56 -0800)
committerDavid Schleef <ds@schleef.org>
Sat, 2 Mar 2013 18:42:01 +0000 (10:42 -0800)
commitf671bd27548f2e5f7db0e475aeb450d794ba697d
treeac80fe5120ab0f3995296a5fdcd19f0efca1750b
parenta0cff35ae8c102f2f4b8c427794f7a52fe64f2d2
collectpads: take DTS into account

Importantly, this patch converts DTS to running time.  Less importantly,
and possibly a problem for some muxers, is that it orders buffers by
DTS (if it is valid, otherwise PTS).  This is generally correct, but
might be somewhat surprising to muxers.

Also note that once converted to running time, DTS can end up negative.
libs/gst/base/gstcollectpads.c