alsasrc: Don't use driver timestamp if it's zero
authorGeorg Lippitsch <glippitsch@toolsonair.com>
Mon, 26 Feb 2018 13:25:40 +0000 (14:25 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 8 Aug 2019 15:58:51 +0000 (16:58 +0100)
commitad3164bdbf64460b2621a763a89c3a45e6fc912b
treea9c6e1f7054f7c9d83f91ae70713301a4f3b771a
parent330f1f9aa6d02cce18f01a886f26fc307e7a96bb
alsasrc: Don't use driver timestamp if it's zero

Some alsa interfaces don't provide timestamps and thus always set the timestamp to zero.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/453
ext/alsa/gstalsasrc.c