basesink: improve position reporting without clock
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 30 May 2013 04:51:24 +0000 (06:51 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 30 May 2013 04:51:24 +0000 (06:51 +0200)
commitcf4334fbfb80abc40172897e54ce4a5faf42e3fb
tree828b13de6b1ad8228c96aa5e587b4552311517b1
parent2253f8fa6fc82434871408008eb4d3cef019a6bb
basesink: improve position reporting without clock

When no base time or when sync is disabled, use the same logic as
in paused to report position. The logic in PLAYING assumes we use the
clock.
libs/gst/base/gstbasesink.c