adaptivedemux: Don't claim to be live when answering the LATENCY query
authorSebastian Dröge <sebastian@centricular.com>
Thu, 23 Apr 2015 15:43:36 +0000 (17:43 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 23 Apr 2015 15:47:18 +0000 (17:47 +0200)
commit6c8eeb448dd1088ee9526861825b443007a84ad4
tree0d5c5eb594b83d5e0bcdec90786c87ca6b3cda6a
parent7c2a5da1258bbfe752d2e3456172fcbfbcc92b16
adaptivedemux: Don't claim to be live when answering the LATENCY query

Even for "live" streams we are not live in the GStreamer meaning of the word.
We don't produce buffers that are timestamped based on their "capture time"
and our clock, but just based on whatever timestamps the stream might contain.

Also even if we wanted to claim to be live, that wouldn't work well as we
would have to return GST_STATE_CHANGE_NO_PREROLL when going from READY to
PAUSED, which we can't. We first need data to know if we are "live" or not.
gst-libs/gst/adaptivedemux/gstadaptivedemux.c