mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
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).
This commit is contained in:
parent
a570f40d46
commit
1aa6c129e3
2 changed files with 11 additions and 1 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2007-05-31 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
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).
|
||||||
|
|
||||||
2007-05-23 Tim-Philipp Müller <tim at centricular dot net>
|
2007-05-23 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain):
|
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain):
|
||||||
|
|
|
@ -870,7 +870,7 @@ gst_dvd_sub_dec_sink_event (GstPad * pad, GstEvent * event)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case GST_EVENT_FLUSH_START:{
|
case GST_EVENT_FLUSH_STOP:{
|
||||||
/* Turn off forced highlight display */
|
/* Turn off forced highlight display */
|
||||||
dec->forced_display = 0;
|
dec->forced_display = 0;
|
||||||
dec->current_button = 0;
|
dec->current_button = 0;
|
||||||
|
|
Loading…
Reference in a new issue