datetime: fix second parsing failure case when deserialising datetime
authorTim-Philipp Müller <tim@centricular.net>
Sat, 7 Jul 2012 15:01:41 +0000 (16:01 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 7 Jul 2012 18:05:55 +0000 (19:05 +0100)
commitdcc9941931fa350f1eef0e05d691f66d05abd3c4
tree13bc804bff512aa1556b5d6be785e31af36f69d6
parent1c43e3628dab154b73e284fd48bbd7374141b51e
datetime: fix second parsing failure case when deserialising datetime

When we fail to parse the number of seconds, reset the value to -1
instead of passing some error value as seconds. Also, we can still
try to parse timezone information.
gst/gstdatetime.c