Commit 24770f8f authored by Wim Taymans's avatar Wim Taymans
Browse files

tests/examples/seek/seek.c: Free and clear the seek element list so that we...

tests/examples/seek/seek.c: Free and clear the seek element list so that we don't use invalid references when seeking...

Original commit message from CVS:
* tests/examples/seek/seek.c: (stop_cb):
Free and clear the seek element list so that we don't use invalid
references when seeking after recreating a gst-launch line.
parent d2f328f5
2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/examples/seek/seek.c: (stop_cb):
Free and clear the seek element list so that we don't use invalid
references when seeking after recreating a gst-launch line.
2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
 
* gst-libs/gst/audio/gstbaseaudiosink.c:
......@@ -1496,6 +1496,9 @@ stop_cb (GtkButton * button, gpointer data)
gst_element_set_state (pipeline, GST_STATE_NULL);
gst_object_unref (pipeline);
g_list_free (seekable_elements);
seekable_elements = NULL;
pipeline = pipelines[pipeline_type].func (pipeline_spec);
g_assert (pipeline);
gst_element_set_state (pipeline, GST_STATE_READY);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment