playsink: clear ts-offset pointer
We need to clear the pointer to our ts-offset element when we destroy the video chain elements to make sure nobody derefs it to invalid memory afterwards.
This commit is contained in:
parent
97e14fda28
commit
7379202cca
@ -2174,6 +2174,7 @@ gst_play_sink_reconfigure (GstPlaySink * playsink)
|
||||
}
|
||||
add_chain (GST_PLAY_CHAIN (playsink->videochain), FALSE);
|
||||
activate_chain (GST_PLAY_CHAIN (playsink->videochain), FALSE);
|
||||
playsink->videochain->ts_offset = NULL;
|
||||
}
|
||||
|
||||
if (playsink->videodeinterlacechain) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user