input-selector: Use segment-presence for running_time check
authorJan Alexander Steffens (heftig) <jsteffens@make.tv>
Wed, 19 Nov 2014 11:59:12 +0000 (12:59 +0100)
committerThiago Santos <thiagoss@osg.samsung.com>
Tue, 24 Mar 2015 13:34:27 +0000 (10:34 -0300)
commit6f24f4917d6cdde5cdb6935f3ff6eb21948c714b
treea995f0b9b5cc97328ff5119e9c34d077d3d4f5f1
parent0a3ded193278ad95b04ace3dc5e2fcf7e277abff
input-selector: Use segment-presence for running_time check

When determining whether the running_time of a pad can be
calculated, check if the segment is in TIME format instead
of using the 'active' field.

Since the latter is set through *any* activity, it's not a
reliable indicator of segment presence.

https://bugzilla.gnome.org/show_bug.cgi?id=739620
plugins/elements/gstinputselector.c