projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97e14fd
)
playsink: clear ts-offset pointer
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 23 Jun 2010 10:10:32 +0000
(12:10 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 23 Jun 2010 10:10:32 +0000
(12:10 +0200)
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.
gst/playback/gstplaysink.c
patch
|
blob
|
history
diff --git
a/gst/playback/gstplaysink.c
b/gst/playback/gstplaysink.c
index ef11ec4ee71b8f4b908bb0a47224db22ed9a2d96..a8c9b3311d96f092fa02a0ffd7bd2058737d8baa 100644
(file)
--- a/
gst/playback/gstplaysink.c
+++ b/
gst/playback/gstplaysink.c
@@
-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) {