subparse: don't leak parse context for sami and qttext
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 16 Jul 2013 17:30:50 +0000 (18:30 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 16 Jul 2013 17:31:46 +0000 (18:31 +0100)
commit3eea81e4a2b32bf0188fc31b3d60322494f23c32
treea6c960e68af17d8ac8537f697597f0f30a61676b
parent6cea51c9623e6df6da3b3a9918ca250cd3d81ae1
subparse: don't leak parse context for sami and qttext

In gst_sub_parse_dispose() parser_type will be UNKNOWN,
so these deinit calls were never executed. And we should
clean up the parser state in the downwards state change
anyway.
gst/subparse/gstsubparse.c
gst/subparse/samiparse.c