baseparse: use proper _NONE output value when applicable

This commit is contained in:
Mark Nauwelaerts 2010-11-30 15:40:28 +01:00
parent 5df40a727c
commit 145e041af5

View file

@ -2944,6 +2944,7 @@ gst_base_parse_locate_time (GstBaseParse * parse, GstClockTime * _time,
/* do not know at first */
*_offset = -1;
*_time = GST_CLOCK_TIME_NONE;
/* need initial positions; start and end */
lpos = parse->priv->first_frame_offset;