queue/queue2: Use GST_BUFFER_DTS_OR_PTS
authorEdward Hervey <bilboed@bilboed.com>
Tue, 27 Oct 2015 07:48:07 +0000 (08:48 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 27 Oct 2015 07:49:02 +0000 (08:49 +0100)
commita9c923d585affc85262e41b4790d378294706d7a
treeaf7948487f6dbfe76215344724ba88ad7ff2c346
parent692c0dc060807fd1ea813aa81e9c2656fd607b40
queue/queue2: Use GST_BUFFER_DTS_OR_PTS

The input of queue/queue2 might have DTS set, in which cas we want
to take that into account (instead of the PTS) to calculate position
and queue levels.

https://bugzilla.gnome.org/show_bug.cgi?id=756507
plugins/elements/gstqueue.c
plugins/elements/gstqueue2.c