baseparse: use proper _NONE output value when applicable
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Tue, 30 Nov 2010 14:40:28 +0000 (15:40 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 8 Apr 2011 17:07:12 +0000 (18:07 +0100)
gst/audioparsers/gstbaseparse.c

index 6704ab163367007ca13b3dda5b5166d43daedc5b..b54a7b018c4fce10577a8da26955d0021a731b83 100644 (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;