gst/dvdsub/gstdvdsubdec.c: Clear state when handling the serialized FLUSH_STOP event...
authorMark Nauwelaerts <manauw@skynet.be>
Thu, 31 May 2007 22:33:26 +0000 (22:33 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 31 May 2007 22:33:26 +0000 (22:33 +0000)
commit1aa6c129e38b9561753e7bff0db978e73aa505dd
treeaeaff6c0b0bcf4f763b9bfc4a4ecc96e3bb9ca05
parenta570f40d46f44928b901297125a4084ab79c1f70
gst/dvdsub/gstdvdsubdec.c: Clear state when handling the serialized FLUSH_STOP event instead of the FLUSH_START event...

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet be>
* gst/dvdsub/gstdvdsubdec.c: (gst_dvd_sub_dec_sink_event):
Clear state when handling the serialized FLUSH_STOP event instead of
the FLUSH_START event, thereby making sure we don't free buffers the
chain function is still using. Fixes dvdsubdec crashing when flusing
or seeking (#442706).
ChangeLog
gst/dvdsub/gstdvdsubdec.c