mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
check/generic/states.c: Cleanup can be done at the end.
Original commit message from CVS: * check/generic/states.c: (GST_START_TEST): Cleanup can be done at the end. * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize), (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock), (gst_task_get_state), (gst_task_start), (gst_task_pause): Oh boy.. Thanks for finding this, Thomas.
This commit is contained in:
parent
66555704dd
commit
74c68bb7fc
4 changed files with 13 additions and 5 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2005-08-25 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* check/generic/states.c: (GST_START_TEST):
|
||||
Cleanup can be done at the end.
|
||||
|
||||
* gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
|
||||
(gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
|
||||
(gst_task_get_state), (gst_task_start), (gst_task_pause):
|
||||
Oh boy.. Thanks for finding this, Thomas.
|
||||
|
||||
2005-08-25 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* docs/gst/gstreamer.types:
|
||||
|
|
|
@ -50,9 +50,8 @@ GST_START_TEST (test_state_changes)
|
|||
gst_element_set_state (element, GST_STATE_PAUSED);
|
||||
gst_element_set_state (element, GST_STATE_NULL);
|
||||
gst_object_unref (GST_OBJECT (element));
|
||||
|
||||
gst_task_cleanup_all ();
|
||||
}
|
||||
gst_task_cleanup_all ();
|
||||
}
|
||||
|
||||
GST_END_TEST;
|
||||
|
|
|
@ -99,7 +99,7 @@ gst_task_finalize (GObject * object)
|
|||
g_cond_free (task->cond);
|
||||
task->cond = NULL;
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -50,9 +50,8 @@ GST_START_TEST (test_state_changes)
|
|||
gst_element_set_state (element, GST_STATE_PAUSED);
|
||||
gst_element_set_state (element, GST_STATE_NULL);
|
||||
gst_object_unref (GST_OBJECT (element));
|
||||
|
||||
gst_task_cleanup_all ();
|
||||
}
|
||||
gst_task_cleanup_all ();
|
||||
}
|
||||
|
||||
GST_END_TEST;
|
||||
|
|
Loading…
Reference in a new issue