baseparse: use proper _NONE output value when applicable

This commit is contained in:
Mark Nauwelaerts 2010-11-30 15:40:28 +01:00 committed by Tim-Philipp Müller
parent dab512bb15
commit 0cb02472f0

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;