player: Set default position and duration value to GST_CLOCK_TIME_NONE
authorPhilippe Normand <philn@igalia.com>
Sat, 1 Sep 2018 10:23:33 +0000 (11:23 +0100)
committerPhilippe Normand <philn@igalia.com>
Mon, 3 Sep 2018 11:11:42 +0000 (12:11 +0100)
commitd1ed94491ee2c4cda59b55978d446e518a8b516e
tree8acee9a3f0c8036fea14b2d5a9c9c3fbfabb3e66
parent0146ad219e8855fb7fe128632f3168e3b44ca9ef
player: Set default position and duration value to GST_CLOCK_TIME_NONE

When the position query fails the returned value shall remain -1 instead of 0 to
avoid confusion on application side between error and beginning of media.

https://bugzilla.gnome.org/show_bug.cgi?id=797066
gst-libs/gst/player/gstplayer.c