basesink: Clamp the base time correctly in position reporting
authorJan Schmidt <thaytan@noraisin.net>
Thu, 19 Nov 2009 18:00:05 +0000 (19:00 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Thu, 19 Nov 2009 18:02:22 +0000 (19:02 +0100)
commit81d3fda6e85181f11e0acb4fcaf60ac49a6e9aac
tree2920027b050a02bb0de1d5e5ff25dfbd9d96e738
parent7537505ed09551e6e3ab62b6af8c5c9cf99dbc25
basesink: Clamp the base time correctly in position reporting

When clamping the base time, correctly use 'now', instead of
'-now' - the intent is to prevent 'now-base' ever being
negative, which would cause a position report outside the segment.

Fixes: #602419
libs/gst/base/gstbasesink.c