rtsp-media: query the position on active streams if media is complete
authorBranko Subasic <branko@axis.com>
Tue, 3 Apr 2018 06:57:47 +0000 (08:57 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 4 Apr 2018 07:05:38 +0000 (10:05 +0300)
commit48ad01beba0ebb7a91bcd461a610a49453343393
treea7e6b86e6b88f8ac40bc6b1c20c82a6353e04d0f
parente3bbd40f0e288968f3b5e8cffa8a90e1018774bc
rtsp-media: query the position on active streams if media is complete

If the media is complete, i.e. one or more streams have been configured
with sinks, then we want to query the position on those streams only.
A query on an incomplete stream may return a position that originates from
an earlier preroll.

https://bugzilla.gnome.org/show_bug.cgi?id=794964
gst/rtsp-server/rtsp-media.c
tests/check/gst/media.c