subparse: do not assert when failing to parse subrip timestamp
authorJordan Petridis <jordan@centricular.com>
Fri, 11 Jan 2019 15:43:03 +0000 (17:43 +0200)
committerSebastian Dröge <slomo@coaxion.net>
Mon, 14 Jan 2019 11:43:57 +0000 (11:43 +0000)
commit5396ef6e45045f8e807a262da16dcd238a8b1ce2
treedd64feff4202f1d47c3bbf0ef93be04634d57313
parent4d24f78c052539c45078494cf8bdf10435d56891
subparse: do not assert when failing to parse subrip timestamp

If a badly formatted was passed into `parse_subrip_time` it would
assert instead of exiting gracefully. This is problematic since
the input is provided by the user, and will trigger a crash.

https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/532
gst/subparse/gstsubparse.c
tests/check/elements/subparse.c