queue: Only calculate level if we have valid levels
authorEdward Hervey <edward@centricular.com>
Thu, 23 Nov 2017 14:28:39 +0000 (15:28 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 23 Nov 2017 14:28:39 +0000 (15:28 +0100)
commit922e048379480db16a16a3ce6bfbc48627fff611
tree80536b5d914f6b97ff9f2df88d521d3a582d5df0
parent7ea4152323f0e3ec521e1163e5ec54406da8fc62
queue: Only calculate level if we have valid levels

Doing calculations with GST_CLOCK_STIME_NONE would result in
completely bogus levels
plugins/elements/gstqueue.c