subparse: conditionally cleanup sami context
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 1 Dec 2009 16:22:57 +0000 (13:22 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 1 Dec 2009 16:32:33 +0000 (13:32 -0300)
commitc4b86b37fbc3de287ec40c696b13ba07d67eb9e0
tree204f9584c2bcd51e116e72f3af67a992da954147
parent12db385ada38150bb47cd48a5944c0cc036fe594
subparse: conditionally cleanup sami context

Only cleanup sami context if we are parsing sami subtitles,
otherwise we might have crashes.
gst/subparse/gstsubparse.c